Question: 2. Complete a program to calculate the surface area of a circle. The program must ask the user to provide the information of the radius

 2. Complete a program to calculate the surface area of a

2. Complete a program to calculate the surface area of a circle. The program must ask the user to provide the information of the radius of a circle from keyboard input. It then takes the value to calculate the surface area, and prints out the results on the screen. (Note: you should define a constant to store PI=3.141593.) The running result is as below: (4 marks) Please input the radius of a circle: 10 the value of the surface area: 314,16

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!