Question: need help writing this program in c++ this is how it should execute. Lab Write a complete program that: 1. Creates a global constant to

need help writing this program in c++  need help writing this program in c++ this is how it
this is how it should execute.
should execute. Lab Write a complete program that: 1. Creates a global

Lab Write a complete program that: 1. Creates a global constant to hold pi (x = 3.141592) 2. Prompts the user to enter a radius and reads in a radius from the keyboard as a double 3. Calculates the circumference of a circle 4. Calculates the area of a circle. 5. Writes the answers from (3) and (4) out to the display using See the example output for formatting. The equation for circumference of a circle is: circumference = 2 * * radius The equation for area of a circle is: area = r * radius? See the example output for examples and formatting Output values should be fixed with 2 digits of precision. You will need to use to match the output Enter the radius of a circle **10 1 radius circumference area | 10.00 1 62.83 +------------ 314.16 1 ---------+

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!