Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int liczba;
- cout<<"Podaj liczbe:"<<endl;
- cin>>liczba;
- switch (liczba)
- {
- case 2:
- cout<<"Dwa"<<endl;
- break;
- case 1:
- cout<<"Jeden"<<endl;
- break;
- case 4:
- cout<<"Cztery"<<endl;
- break;
- case 3:
- cout<<"Trzy"<<endl;
- break;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment