==
2 of 2
(1 mark, file to be edited: Q1.c)
Users are required to enter an integer number: 'r' using the keyboard (STDIN). Here, 'r' is the radius of
the circle. Let Pl equal 3.14.
Please prints out perimeter and area of the circle with two decimal places.
Below is an example of how the program will run:
For example, enter the value 5 for 'r'
Paper No: 3
5
OUTPUT:
31.40
78.50
Press any key to continue
Zoom
+ 100%
Close