Question: TASK#1 (review on Decision structure) Draw a flowchart, and then write a C++ program that asks the user for his choice: 1 or 2. If
TASK#1 (review on Decision structure)
Draw a flowchart, and then write a C++ program that asks the user for his choice: 1 or 2. If the user enters 1, then the program calculates the area of a circle. If the user enters 2, then the program calculates the perimeter of a circle. In the end, the program should display the area and the perimeter to the user. (hint: Pi=3.14)
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
