Question: Question 4 [ 2 5 marks ] Write a program to take in the radius and angle of a slice of pie. The program should
Question marks
Write a program to take in the radius and angle of a slice of pie. The program should calculate the area, the perimeter and the arc length of the pie slice. Then, display the output.
An example of the output interface is:
Enter the radius of the pie slice cm: Press Enter
Enter the angle of the pie slice degree: Press Enter
The area of the pie slice is mathrm~cmwedge
The perimeter of the pie slice is cm
The arc length of the pie slice is cm
Press any key to continue...
Bye...
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
