+ 1
Why my code isn't geting executed? Help me!!!!
#include <stdio.h> int main() { int i = 1; while (i <= 10) if (i % 2 == 0) { printf("i = %d \n", i); } i++; return 0; }
2 Réponses
+ 5
u forgot to add curly braces after while
https://code.sololearn.com/cwW5x66IB53i/?ref=app
+ 2
Atul Thanks bro