Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdlib.h>
- using namespace std;
- int main()
- {
- int x = 2;
- while (x % 2 == 0)
- {
- cin >> x;
- cout << "Broj je paran..." << endl;
- }
- if ( x % 2 > 0)
- {
- cout << "Broj nije paran..." << endl;
- exit(0);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement