The major aim of this module is to teach you how to write simple programs fluently and correctly. In the course of doing this you will also learn to read and understand programs, and some basic use of ...
There are two types of subroutine: Procedures perform a specific task but do not return a value. Functions manipulate data and return a value to the main program. A local variable is a variable ...
Modularity (each part of the code is self-contained and reusable) is introduced through procedures, from which the paradigm gets its name. For example, a procedure to output even numbers between 0 ...