|
|
Defining Our Own Subroutines – Sample Lab ExercisesWrite a programmer-defined subroutine for the following:
Create a bank balance program, based on the algorithm created earlier in this activity, defining programmer-defined subroutines as appropriate.
Source: Public and Catholic District School Board Writing Partnership, Course Profile: Computer and Information Science, Grade 11, University/College Preparation ICS3U, Queen’s Printer for Ontario, 2001, adapted. |
| ||||