Advertisement
adnit

Untitled

Dec 7th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.  
  7. int n;
  8. cout << "Shtyp numrin : " << endl;
  9. cin >> n;
  10.  
  11. switch (n%2)
  12. {
  13. case 0 : cout << "Numer jo i thjeshte"; break;
  14. case 1 : if(n%3==0){ cout << "Numer jo i thjeshte";}else {cout << "Numer i thjeshte";} break;
  15.  
  16. }
  17.  
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement