int main(void) { int p[7]={11,13,14,15,16,17,18}; int i=0; int k=0; while( i<7 && (p[i]%2)!=0 ) { k=k+p[i]; i++; } printf("%d\n",k); return 0; }