Question 1 (2 marks)
2 of 3 Paper No: 1
The given file Q1.c already contains statements to input the radius of a circle. You should write statements to calculate the area of the circle with area= 3.14* radius* radius
Notes:
- Do not edit given statements in the main function.
- You can create new functions if you see it is necessary.
- The output result is formatted in two decimal places
Sample input and output:
-Input:
radius=3
After processing: result = 28.26
Output for marking:
OUTPUT:
28.26
Zoom
+ 100%
Close