Page 50 - My Own Workbook for CSEC Information Technology Examinations
P. 50

My Own Workbook for CSEC® Information Technology Examinations
AVERAGES, DISCOUNTS, TAX AND TOTALS
15. Farmer Joe has just reaped some apples and packed them in boxes. Each box, when full, contains two and a half dozen apples.
Develop a structured algorithm which accepts the number of boxes and the selling price of an apple. The algorithm should compute and output the Farmer Joe’s total income (assuming
all boxes are full, and he sells all the apples reaped). ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................ ........................................................................................................................................
89
IT-book-edited-8,3x11,7.indd 92
9/11/18 7:25 PM
Copyrighted material. All rights reserved.
DO NOT COPY THIS PAGE DO NOT COPY THIS PAGE DO NOT COPY THIS PAGE


































































































   48   49   50   51   52