Home > Back-end >  programming
programming

Time:10-09

Help to see how the program compiled thanks

CodePudding user response:

Hello, here is the reference program, the hope can help you,
 
#include
# define Pi (3.14159)
Int main () {
Double r, h;
Printf (" input radius and cylindrical high \ n ");
Lf the scanf (" % % lf ", & amp; R, & amp; H);
Printf (" circumference is: % 2 lf \ n ", 2 * Pi * r);
Printf (" circle area is: % 2 f \ n ", Pi * r * r);
Printf (" the cylinder volume is: % 2 lf \ n ", Pi * r * r * h);
return 0;
}