Question: Write an algorithm to compute the area of a circle (area = * radius* radius), or circumference of a circle (circumference=2 * * radius) or
Write an algorithm to compute the area of a circle (area = 7 * radius" radius), or circumference of a circle (circumference=2*77* radius)or a triangle (area=1/2 x basex height) based on the input by the user (i.e. either 'C', 'F' or 'T' respectively). Display "Invalid User Input" if the user entered other letters. Once you have completed the algorithm, implement the algorithm using C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
