Page 85, #7
Snowman to Stool
This exercise uses a number function as the count for a Loop. Create a world with a snowman and a stool, as seen below. Use a Loop to make the snowman (People) move to the stool (Kitchen), one meter at a time. Use a distance to function to determine the number of times the loop repeats. (The distance to function might return a fractional distance such as 3.75 meters. The Loop statement truncates the fractional number to the integer 3 and will repeat three times.) We recommend that you test your solution by moving the snowman and the stool to different locations on the screen and running the program with each change, so you can know whether it works no matter where the snowman and the stool are located.Attachments
This program was developed using 2.4.2. A screenshot is included of the program you will receive. Purchases made from my submissions, through Cramshark, are final and there are no refunds. Thank you.