Write an algorithm that outlines how to calculate the room area for the image below.

Answer:
The following are the algorithm to this question:
Explanation:
Following are the steps of the algorithm:
step 1:
To calculate the area of the room, firstly we need to divide the given image into parts and calculate the area of the given image.
step 2:
After calculating each part area, we merge all the parts to calculate the areas.
Calculating area of the parts:
In part 1:
It forms the square shape, and the formula of the square is [tex]side \times side[/tex]. In this diagram we let A=B. that's why the area is [tex]b^2[/tex].
In part 2:
In this part also forms the square image. In this, the side is equal to (A-c). so, the area is equal to [tex](A-C)^2[/tex].
In part 3:
It forms the triangle shape, and the area of the triangle is[tex]= \frac{b \times h}{2}[/tex]. the value of "b" is E and the "h" is = (A-C). so, the area is [tex]= \frac{E\times (A-C)}{2}[/tex].
The total area is:
[tex]\bold{ =b^2+(A-C)^2+ \frac{E\times (A-C)}{2}}[/tex]
The algorithm that outlines how to calculate the room area is as follows:
From the attached figure, we can see that the figure has been split to 3
So, the algorithm is as follows:
Read more about algorithms at:
https://brainly.com/question/17780739