Main.cc: In function 'int main()': Main.cc:9:28: error: expected ')' before ';' token printf("%.3f",2-1.5*(x-3)*2; ^ Main.cc:4:10: warning: unused variable 'y' [-Wunused-variable] double x,y; ^