Programming Ollie to make regular polygons in MFM1P

Today a few students in Grade 9 Applied mathematics used the Tickle app to create a program that asks the user “Please enter the number of sides” and then it uses the formula for sum of interior angles to calculate the exterior angles of the polygon. Ollie then dutifully travels to create the requested regular polygon.

 

Their code for Ollie in Tickle App:

 

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *