Sorting Numbers

This week, the Grade 10 TOPS computer science class created a program that sorts numbers from biggest to smallest using only “if” statements. The exercise was meant to develop an appreciation of arrays: code structures that optimize the efficiency of a program.

Comments are closed