===
not be able to score and the exam result will be 0.
(2 marks)
2 of 3
Paper No: 1
The given file Q1.c already contains statements to enter the radius named r and height named h (r, h >0)of the cylinder. You will write statements to print the area around the cylinder.
Hint:
Saround = 2*π*r*h (with π is 3.14)
Notes:
- Do not edit given statements in the main function.
- You can create new functions if you see it is necessary.
- The output value is formatted in two decimal places
Sample input and output:
Input: r = 2, h = 5
After processing: result = 62.80
Output for marking:
OUTPUT:62.80
Zoom
FUO
+ 100%
Close