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

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

Step by Step Solution

3.46 Rating (172 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

c program to input a number X and create a program tha... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Prelude to Programming Questions!