Press the green flag and Scratch will help you find the third side of any right triangle! Remember that the hypotenuse is opposite the right angle, and it is the longest side.
Today's challenge was to use the "variable" block. As a math teacher, I have created a few programs with the variable block, so I wanted to do something different, so I made a program that does two calculations. This program will find either a leg or hypotenuse to a right triangle. This means that I have programmed two different formulas. I also used a tip that I received on a previous project to help round the answers. If I had more time I would create a little blurb or sprite to make clear/explain which side is the hypotenuse.