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
1
Expert's answer
2019-12-02T10:38:26-0500
Dear Laura, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment