Page 47 - My Own Workbook for CSEC Information Technology Examinations
P. 47
IT-book-edited-8,3x11,7.indd 85
9/11/18 7:25 PM
5. Develop a structured algorithm which computes the area of a pool deck to be painted. The algorithm should accept the dimensions of the entire pool area (deck and pool) and the dimensions of the pool. Compute the area to be
painted (as shown in the diagram on the right).
............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ...............................................................................................
Copyrighted material. All rights reserved.
............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... ...............................................................................................
82
Problem-Solving and Program Design SECTION 7 AREA AND PERIMETER
POOL DECK
POOL
DO NOT COPY THIS PAGE DO NOT COPY THIS PAGE DO NOT COPY THIS PAGE