Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- using namespace std;
- int main(int argc, char *argv[])
- {
- int ocena;
- cin>>ocena;
- while (ocena !=0)
- {
- switch (ocena)
- {
- case 1:
- cout<<"niedostateczny";
- break;
- case 2:
- cout<<"dopuszczający";
- break;
- case 3:
- cout<<"dostateczny";
- break;
- default: cout<<"nie ma takiej oceny";
- break;
- }
- cin>>ocena;
- }
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Add Comment
Please, Sign In to add comment