Menu

[solved] – Question 95687

For this lab you will find the area of an irregularly shaped room with the shape as shown above.

Ask the user to enter the values for sides A, B, C, D, and E and print out the total room area.

Remember the formula for finding the area of a rectangle is length * width and the area of a right triangle is 0.5 * the base * height.

Please note the final area should be in decimal format.

Sample run:

Enter side A: 11
Enter side B: 2
Enter side C: 4
Enter side D: 7
Enter side E: 1
Output:

Room Area: 53.5
The following content is partner provided
i need a code to where i can input the size of the sides and find the area

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *