Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(void)
- {
- int x=0;
- cout<< "Iveskite pazymi;"<<endl;
- cin >>x;
- switch (x)
- {
- case 1:
- cout << "nepatenkinamai";
- break;
- case 2:
- cout << "nepatenkinamai";
- break;
- case 3:
- cout << "nepatenkinamai";
- break;
- case 4:
- cout << "nepatenkinamai";
- break;
- case 5:
- cout << "silpnai";
- break;
- case 6:
- cout << "patenkinamai";
- break;
- case 7:
- cout << "vidutiniskai";
- break;
- case 8:
- cout << "gerai";
- break;
- case 9:
- cout << "labai gerai";
- break;
- case 10:
- cout << "puikiai";
- break;
- default:
- cout << "netinkamas skaicius";
- break;
- }
- cout<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement