Two integers are given by user, coding of If/then blocks accounts for the three scenarios 1 > 2, 1 < 2, 1 = 2 Then some funny stuff at the end for students to differentiate their coding
Ontario Math Curriculum 2020 Expectations are: C3.1 solve problems and create computational representations of mathematical situations by writing and executing efficient code, including code that involves conditional statements and other control structures C3.2 read and alter existing code, including code that involves conditional statements and other control structures, and describe how changes to the code affect outcomes and the efficiency of the code B1.2 read and represent integers, using a variety of tools and strategies, including horizontal and vertical number lines B1.3 compare and order integers, decimal numbers, and fractions, separately and in combination, in various contexts