Not able to produce output for one test case in C
Pretty new to programming and C. Not able to figure out why the ‘odd’ never gets printed. Is there no correct operator that can be used to get the same output? int main() { int n, i; printf("Enter value"); scanf("%d",&n); for (i=0;i<n;i++) if (i>9 && i%2==0) printf("even\n"); else if (i>9 && i%2!=0) printf("odd\n"); return 0;