Problem Statement
Write a program that reads a floating-point number x and prints its square root using the sqrt function from math.h.
Ensure you include <math.h>.
DEMO-C-32 โข Programming in C
Write a program that reads a floating-point number x and prints its square root using the sqrt function from math.h.
Ensure you include <math.h>.
A single non-negative floating-point number.
The square root formatted to 2 decimal places.
Submit runs every public testcase in this browser. Results and code never leave this device.
4.0
2.00
2.0
1.41
0.0
0.00
9.0
3.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question