Question: Using Alice create this program Snowman to Stool This exercise uses a number function as the count for a Loop. Create a world with a
Using Alice create this program
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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
