7. The data used in the second desk-check will vary.
Input Processing Output
team 2-pt baskets Processing items: Michael contribution
team 3-pt baskets team score
Algorithm:
1. enter the team 2-pt baskets, team 3-pt baskets, team
free throw pts, Michael 2-pt baskets, Michael 3-pt
baskets, Michael free throw points
2. calculate the team score by first multiplying the team
3. calculate the Michael score by first multiplying the
Michael 2-pt baskets by 2, then multiplying the Michael
3-pt baskets by 3, and then adding both results to the
Michael free throw pts
4. calculate the Michael contribution by dividing the
team 2-pt baskets team 3-pt baskets team free throw pts Michael 2-pt baskets
25 14 10 11
20 6 15 4
Michael 3-pt baskets Michael free throw pts team score Michael score
Michael contribution
36.3