Main.cc: In function ‘int main()’: Main.cc:8:22: error: expected ‘;’ before ‘)’ token for(a<=100&&a>=0){ ^ Main.cc:8:16: warning: statement has no effect [-Wunused-value] for(a<=100&&a>=0){ ~~~~~~^~~~~~ Main.cc:12:2: error: expected primary-expression before ‘}’ token } ^ Main.cc:12:2: error: expected ‘;’ before ‘}’ token Main.cc:12:2: error: expected primary-expression before ‘}’ token Main.cc:12:2: error: expected ‘)’ before ‘}’ token Main.cc:12:2: error: expected primary-expression before ‘}’ token