Figure 6-29 shows a problem specification, two illustrations, and two solutions containing loops. a. Will both loops

Question:

Figure 6-29 shows a problem specification, two illustrations, and two solutions containing loops.

a. Will both loops work when Sherri is one or more steps away from the fountain, as shown in Illustration A? If not, why not?

b. Will both loops work when Sherri is directly in front of the fountain, as shown in Illustration B? If not, why not?

Problem Specification Sherri is standing an unknown number of steps away from the Burlington Fountain. Write the instructions that direct Sherri to walk from her current location to the fountain. Illustration A Illustration B Solution 1- pretest loop repeat while you are not directly in front of the fountain walk

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: