Main.cc: In function 'int main()': Main.cc:6:5: error: expected ';' before 'printf' printf("%.4lf%%",4.0/3*a*a*a*3.1415926; ^