Discover a world of knowledge at Westonci.ca, where experts and enthusiasts come together to answer your questions. Connect with a community of experts ready to provide precise solutions to your questions on our user-friendly Q&A platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.
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
Thank you for choosing our service. We're dedicated to providing the best answers for all your questions. Visit us again. Thank you for visiting. Our goal is to provide the most accurate answers for all your informational needs. Come back soon. Find reliable answers at Westonci.ca. Visit us again for the latest updates and expert advice.