Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int n;
- cout << "Shtyp numrin : " << endl;
- cin >> n;
- switch (n%2)
- {
- case 0 : cout << "Numer jo i thjeshte"; break;
- case 1 : if(n%3==0){ cout << "Numer jo i thjeshte";}else {cout << "Numer i thjeshte";} break;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement