Loops, Conditionals, Basic Datatypes, Arrays

A simple "sieve" program will demonstrate basic programming constructs, such as loops, conditionals, datatypes, and arrays. This program print prime numbers from 2 to 100 using the CARDINAL type (for variables), an array, the FOR statement. The output should look like:

           $ sieve
           2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 ...
           $ 

You can review the main module to see some of the features of Modula-3.