Question: Problem 3 Longest Line (2.5 points) Here we continue with variable use. Clara is learning to optimise her movement and for this to happen she

Problem 3 Longest Line (2.5 points) Here we continue with variable use. Clara is learning to optimise her movement and for this to happen she must leam to count. One of the tasks set out for her is to compute the height of the longest line of trees. Clara starts in the world as shown in Figure 3.1. She must move om west to east and once reaching a leaf at the bottom right corner she must present the value of the longest tree line she has encountered in the world. The outcome should resemble what is shown in Figure 3.2. m Long-Ir. tu- lina i.- 9 train 1mg Figure 3.1. Initial screen Figure 3.2. Final Screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
