Input a number x and build program that allows the user to


Using the Raptor program, answer the following:

Input a number (X) and build 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

Note: Because X represents a dimension, we require that X > 0. Be sure to include this requirement in your program.

Solution Preview :

Prepared by a verified Expert
Business Management: Input a number x and build program that allows the user to
Reference No:- TGS02496061

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)