Page

Cable Tv Management System In C/C++ Language

#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
void package_list();
void package_rate();
void sport_package();
void news_package();
void movie_package();
void main()
{
int choice;
clrscr();
cout<<"\t\t\t--------------------------";
cout<<"\n\t\t\tCable Tv Management System\n";
cout<<"\n\t\t\t--------------------------\n\n";
cout<<"Package List      : 1\n";
cout<<"Package Rate      : 2\n";
cout<<"Exit              : 3\n";
cout<<"Enter Your Choice : ";
cin>>choice;
switch(choice)
{
case 1:
package_list();
break;
case 2:
package_rate();
break;
case 3:
exit(0);
}
getch();
}
void package_list()
{
int choice;
clrscr();
cout<<"\n\t\t\t\tMOVIE PACKAGE    : 1";
cout<<"\n\t\t\t\tNEWS  PACKAGE    : 2";
cout<<"\n\t\t\t\tSPORT PACKAGE    : 3";
cout<<"\n\t\t\t\tEXIT             : 4";
cout<<endl;
cout<<"t\t\t\t\tENTER YOUR CHOICE : ";
cin>>choice;
switch(choice)
{
case 1:
movie_package();
break;
case 2:
news_package();
break;
case 3:
sport_package();
break;
case 4:
exit(0);
}
}
void movie_package()
{
clrscr();
cout<<endl;
cout<<"\t\t\t\tSahara One\n";
cout<<"\t\t\t\tStar one\n";
cout<<"\t\t\t\tZ.Cinema\n";
cout<<"\t\t\t\tSet Max\n";
cout<<"\t\t\t\tFilmy\n";
cout<<endl<<endl<<"\t\t\t\tPress Any Key To Back : ";
getch();
package_list();
}
void news_package()
{
clrscr();
cout<<endl;
cout<<"\t\t\tStar News\n";
cout<<"\t\t\tZ News\n";
cout<<"\t\t\tAAJ Tak\n";
cout<<"\t\t\tNDTV\n";
cout<<"\t\t\tIndia Tv\n";
cout<<endl<<endl<<"\t\t\tPress Any Key To Back : ";
getch();
package_list();
}
void sport_package()
{
clrscr();
cout<<endl;
cout<<"\t\t\t\tStar Sport\n";
cout<<"\t\t\t\tNeo Sport\n";
cout<<"\t\t\t\tEspn\n";
cout<<"\t\t\t\tDD Sport\n";
cout<<"\t\t\t\tStar Cricket\n";
cout<<endl<<endl<<"\t\t\t\tPress Any Key To Back : ";
getch();
package_list();
}
void package_rate()
{
clrscr();
cout<<"\t\t\tPACKAGE NAME       : PACKAGE RATE\n\n";
cout<<"\t\t\tMOVIE PACKAGE      : 250\n";
cout<<"\t\t\tNEWS  PACKAGE      : 150\n";
cout<<"\t\t\tSPORT PACKAGE      : 200\n\n";
cout<<"\t\t\tPress Any Key To Go Back : ";
getch();
package_list();
}



No comments:

Post a Comment