Discover new information and insights with the help of IDNLearn.com. Our platform offers detailed and accurate responses from experts, helping you navigate any topic with confidence.
Sagot :
Algorithms are used as prototypes for a complete program.
The algorithm to print the surface area of the exterior is as follows:
1. Start
2. Input the number of windows (n1)
3. Input the number of doors (n2)
4. Input the Length and Width of the windows (L1, W1)
5. Input the Length and Width of the doors (L2, W2)
6. Input Length, Width and Height of the Building
7. Calculate the area of the all windows: Area1 = n1 * L1 * W1
8. Calculate the area of the all doors: Area2 = n2 * L2 * W2
9. Calculate the surface area of the building: Area = 2 * (Length * Width + Length * Height + Width * Height)
10. Calculate the surface area of the exterior. Exterior = Area - Area1 - Area2
11. Display the surface area that can be painted; Exterior
12. Stop
The algorithm is self-explanatory, as all 12 lines of the algorithm are in plain English language.
The surface area of the exterior is calculated by subtracting the areas of all doors and windows from the surface area of the building.
Read more about algorithms at:
https://brainly.com/question/24568182
We are delighted to have you as part of our community. Keep asking, answering, and sharing your insights. Together, we can create a valuable knowledge resource. Your search for solutions ends here at IDNLearn.com. Thank you for visiting, and come back soon for more helpful information.