Page 45 - My Own Workbook for CSEC Information Technology Examinations
P. 45
IT-book-edited-8,3x11,7.indd 83
9/11/18 7:25 PM
1. Develop a structured algorithm which prompts for a and accepts student’s first name and last name. Output the data with appropriate labels.
............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................
Copyrighted material. All rights reserved.
Problem-Solving and Program Design SECTION 7 BASIC INPUT/OUTPUT
2. Develop a structured algorithm which prompts for and accepts your birth year and the current year. The algorithm should calculate and output your age along with a suitable label.
............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................
80
DO NOT COPY THIS PAGE DO NOT COPY THIS PAGE DO NOT COPY THIS PAGE