Question: 3. What is wrong with the algorithm shown in Figure 5-32? 1. shoot the basketball 2. if the basketball went through the hoop else say

3. What is wrong with the algorithm shown in Figure 5-32?

1. shoot the basketball 2. if the basketball went through the hoop

1. shoot the basketball 2. if the basketball went through the hoop else say "I did it!" if the basketball did not go through the hoop say "Missed it!" end if end if Figure 5-32 Algorithm for Exercise 3 2013 Cengage Learning

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock