Question: White a C + + program to compute the area for a red circle and a blue circle Demonstrate the following items in your C

White a C++ program to compute the area for a red circle and a blue circle
Demonstrate the following items in your C++ program:
The value of =3.14 is declared as a global variable. Prompt the user to enter the radius for each circle. Compute the area answers for each circle.
.
[14 marks]
Compare the computed area answers for red circle and blue circle using 1 type of the arithmetic operator and 1 type of relational operator.
Output statements for each of the above items are shown.

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!