Main.cc: In function ‘int main()’: Main.cc:8:22: error: expected ‘;’ before ‘)’ token for(n<=100&&n>=0) { ^ Main.cc:8:16: warning: statement has no effect [-Wunused-value] for(n<=100&&n>=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