Input a number (X) and create a program that allows the user to select finding the area

Question:

Input a number (X) and create a program that allows the user to select finding the area (Area) of one of the following:

● The area of a square with side X, Area = X * X

● The area of a circle with radius X, Area = 3.14 * X^2

● The area of an equilateral triangle with side X, Area = Sqrt(3)/4 * X^2

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: