Advertisement
a53

luna

a53
May 9th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int n;
  7. cin>>n;
  8. switch(n)
  9. {
  10. case 1: cout<<"ianuarie"; break;
  11. case 2: cout<<"februarie"; break;
  12. case 3: cout<<"martie"; break;
  13. case 4: cout<<"aprilie"; break;
  14. case 5: cout<<"mai"; break;
  15. case 6: cout<<"iunie"; break;
  16. case 7: cout<<"iulie"; break;
  17. case 8: cout<<"august"; break;
  18. case 9: cout<<"septembrie"; break;
  19. case 10: cout<<"octombrie"; break;
  20. case 11: cout<<"noiembrie"; break;
  21. default: cout<<"decembrie";
  22. }
  23. return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement