Guest User

Miesiąc

a guest
Nov 6th, 2014
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdio>
  3. using namespace std;
  4.  
  5. main()
  6. {
  7. char numer=' ';
  8. int a ;
  9. cout << "\n Podaj miesiac z zakresu 1-5 ";
  10. cin >> a;
  11.  
  12. switch(numer)
  13. {
  14. case '1': string "styczen" ; break;
  15. case '2': string "luty" ; break;
  16. case '3': string "marczec" ; break;
  17. case '4': string "kwiecien" ; break;
  18. case '5': string "maj" ; break;
  19.  
  20. default: cout << "\n ZLE nie podales numer z przedzialu 1-5";
  21. break;
  22. }
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. getchar();
  32. return 0;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment