Main.cc: In function 'int main()':
Main.cc:10:30: error: 'r' was not declared in this scope
printf("%.2lf",3.1415926*r*r*h);
^
Main.cc:10:34: error: 'h' was not declared in this scope
printf("%.2lf",3.1415926*r*r*h);
^