Main.cc: In function 'int main()': Main.cc:8:10: error: 'i' was not declared in this scope if(a[i]>100;a[i]=k;k++) ^ Main.cc:8:16: error: expected ')' before ';' token if(a[i]>100;a[i]=k;k++) ^ Main.cc:8:19: error: 'i' was not declared in this scope if(a[i]>100;a[i]=k;k++) ^ Main.cc:8:27: error: expected ';' before ')' token if(a[i]>100;a[i]=k;k++) ^