+ 7
Can anyone help me solve that's odd code coach problem by modifying my code.
#include<stdio.h> int main() { int N,numl[100],i,odd=0; scanf("%d",&N); for(i=1;i<=N;i++) { scanf("%d",&numl[i]); } if(numl[i] % 2 == 0) { printf("%d",numl[i]); } else { printf("%d",odd); } return 0; }
0 Answers