Problem Statement
Calculate the volume of a cylinder given radius r and height h.
Formula: PI * pow(r, 2) * h.
DEMO-C-32 โข Programming in C
Calculate the volume of a cylinder given radius r and height h.
Formula: PI * pow(r, 2) * h.
r and h.Volume formatted to 2 decimal places.
Submit runs every public testcase in this browser. Results and code never leave this device.
1.0 1.0
3.14
5.0 10.0
785.40
10.0 1.0
314.16
1.0 10.0
31.42
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question