Main.cc: In function 'int main()': Main.cc:10:35: error: expected ')' before ';' token printf("%.4lf",(4/3.0*p*r*r*r); ^ Main.cc:9:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf",&r); ^