Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdio>
- using namespace std;
- main()
- {
- char numer=' ';
- int a ;
- cout << "\n Podaj miesiac z zakresu 1-5 ";
- cin >> a;
- switch(numer)
- {
- case '1': string "styczen" ; break;
- case '2': string "luty" ; break;
- case '3': string "marczec" ; break;
- case '4': string "kwiecien" ; break;
- case '5': string "maj" ; break;
- default: cout << "\n ZLE nie podales numer z przedzialu 1-5";
- break;
- }
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment