You are viewing a single comment's thread. Return to all comments →
WHere am I wrong and How can I make the program right?
int main() { int a, b; scanf("%d\n%d", &a, &b); for (int i=0; i
if(a%2==0){ printf("even\n"); break; } else { printf("odd\n"); break; } } for(int l=0;l<b+1;l++){ if(b%2==0){ printf("even\n"); break; } else { printf("odd\n"); break; } } return 0;
}
Seems like cookies are disabled on this browser, please enable them to open this website
For Loop in C
You are viewing a single comment's thread. Return to all comments →
WHere am I wrong and How can I make the program right?
include
include
include
include
int main() { int a, b; scanf("%d\n%d", &a, &b); for (int i=0; i
}