Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main (){
- int x;
- do {
- scanf("%i", &x);
- for ( x%2==1 ) {
- printf("Nechetno");
- }
- for ( x%2==0 ) {
- printf("Chetno");
- }
- } while( x>0 );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement