fork download
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int a;
  8. cout<<"Vnesi broj na mesec"<<endl;
  9. cin>>a;
  10. if (a == 1)
  11. cout<<"Januari"<<endl;
  12. if (a == 2)
  13. cout<<"Fevruari"<<endl;
  14. if (a == 3)
  15. cout<<"Mart"<<endl;
  16. if (a == 4)
  17. cout<<"April"<<endl;
  18. if (a == 5)
  19. cout<<"Maj"<<endl;
  20. if (a == 6)
  21. cout<<"Juni"<<endl;
  22. if (a == 7)
  23. cout<<"Juli"<<endl;
  24. if (a == 8)
  25. cout<<"Avgust"<<endl;
  26. if (a == 9)
  27. cout<<"Septemvri"<<endl;
  28. if (a == 10)
  29. cout<<"Oktomvri"<<endl;
  30. if (a == 11)
  31. cout<<"Noemvri"<<endl;
  32. if (a == 12)
  33. cout<<"Dekemvri"<<endl;
  34. system ("PAUSE");
  35. return 0;
  36. }
Success #stdin #stdout #stderr 0.01s 5316KB
stdin
12
stdout
Vnesi broj na mesec
Dekemvri
stderr
sh: 1: PAUSE: not found