Main.cc: In function 'int main()': Main.cc:8:19: error: expected primary-expression before '%' token while(n%i!=0%%i>1) ^