Set the circle radius r = 1.5, the cylinder height H = 3, the circumference is long, circle area, sphere surface area, sphere volume, cylinder volume//requirements: With scanf input data, take the decimal point two # # # # # <stdio.h>int Main () {float r,h; float C,s,sq,vq,vz;float pai = 3.1415926;printf ("Please enter circle Radius:"), scanf ("%f", &r);p rintf ("Please enter cylinder High:"); scanf ("%f", &h) ; c = 2 * Pai * r;s = Pai * r * r;sq = 4 * Pai * r * r;vq = (4/3) * Pai * R * r * R;vz = S * h;printf ("Circle circumference:%4.2f\n", c) ;p rintf ("Circle area is:%4.2f\n", s);p rintf ("Sphere surface area is:%4.2f\n", sq);p rintf ("Sphere volume is:%4.2f\n", VQ);p rintf ("Cylinder Volume:%4.2f\n", VZ); return 0;}
"C" Set Circle radius r = 1.5, cylinder height h = 3, circle length, circle area, sphere surface area, sphere volume, cylinder volume