Develop a menu-driven program that inputs a number X, and at the users choice, finds and displays
Question:
Develop a menu-driven program that inputs a number X, and at the user’s choice, finds and displays the area (A) of one of the following:
● A square with side X (use A = X^2)
● A circle with radius X (use A = 3.14 * X^2)
● An equilateral triangle with side X (use A = Sqrt(3)/4 * X^2)
Use a function for the area of each shape.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: