Question: C++ program How to write a program that allows the user to enter the diameter of a circle and choose if they want the circumference
How to write a program that allows the user to enter the diameter of a circle and choose if they want the circumference or the area. The program should display a menu, get the users' choice, get the diameter and then output the result. And how to create a method to display the menu, a function to return the radius based on the diameter passed to it, a function to find and display the circumference and a function to find and displav the area
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
