Zebra0.com

alice booleanWho is taller? Finding larger of 2

Who is taller? Finding larger of 2

Use the function getHeight to find the taller of two animals

This video shows how to use an if control structure to find which animal is the tallest.


Text of video

After watching this video try to create a similar movie, then create one to find who is shorter.

Don't forget to change the heights to test all of the possibilities.

NEXT: A Quiz Game