Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int a;
- cout<<"channel number:";
- cin>>a;
- switch(a){
- case 1:cout<<"programm no."<<a; break;
- case 2:cout<<"programm no."<<a; break;
- case 3:cout<<"programm no."<<a; break;
- case 4:cout<<"programm no."<<a; break;
- case 5:cout<<"programm no."<<a; break;
- default: cout<<"unknown channel"; break;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement