Problem Statement
Write a program that calculates the area of a circle given its radius r.
Use the formula: Area = PI * pow(r, 2). Use 3.14159 for PI.
DEMO-C-32 โข Programming in C
Write a program that calculates the area of a circle given its radius r.
Use the formula: Area = PI * pow(r, 2). Use 3.14159 for PI.
r.The area formatted to 2 decimal places.
Submit runs every public testcase in this browser. Results and code never leave this device.
1.0
3.14
5.0
78.54
0.0
0.00
100.0
31415.90
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question