Question: Does the algorithm in Figure 5-34 produce the same results as the solution shown in Figure 5-4 in this lesson? If not, why not? 1.
Does the algorithm in Figure 5-34 produce the same results as the solution shown in Figure 5-4 in this lesson? If not, why not?

Figure 5-34

Figure 5-4
1. shoot the basketball 2. if the basketball went through the hoop and Maleek was either inside or on the 3point line say "I did it!" say "2 points for me" else if Maleek was behind the 3-point line say 1 did it!" say "3 points for me" else say "Missed it!" end if end if
Step by Step Solution
3.37 Rating (150 Votes )
There are 3 Steps involved in it
The algorithm in Figure 534 will not give you the same results as the solution shown in Figure 54 be... View full answer
Get step-by-step solutions from verified subject matter experts
