Term 1 Project: Is that a Triangle?
When we don't have time for an exam!
Last updated
When we don't have time for an exam!
Last updated
Build a Program - using procedures blocks, conditional and iteration that asks a user to think of shape and then enter the number of sides of that shape. The use of a List is optional, but all of your programs should include procedural abstraction (when you build your own blocks)
These are the BASIC minimum requirements - you are expected to add unique functionality or user interface extensions. Your program structure, variable names and extensions should be both unique from your neighbors code and use proper naming techniques.
IF the user Enters 3 and they are thinking of a triangle then refer to then you need to prompt for more information
Display/Communicate the results of your triangle testing (above)
Is it an equilateral?
Go Crazy - is it a right triangle?
hint: asquared + bsquared = csquared
Can you draw it?
hint - you will need the angles so look below for the Law of Cosines
TIP: SNAP has a cosine, sine and tangent operator - look at the sqrt
block
Extensions: Design a user interface, tell them more about the triangle, calculate the area? (1/2 base * height)...and on and on and on