1.
- Find the average of a list of numbers.
- Correct.
- Find the total of a list of numbers.
- Consider the last line in the
main
branch. - Count how many numbers the user enters.
- What does the program do besides count the numbers?
- None of these.
- One of the other answers is correct.
Study the program shown in the
main
branch of Figure 5.1.1. Then choose the statement below that best describes the computation the program is trying to perform. Note: The Feature Branch and the Best Common Ancestor both contain bugs.