QUESTION IMAGE
Question
the task is to ask the user for three numbers and find the average. which pseudocode gives you the comment outline for the task? # ask the user for three numbers # divide by 3 # print the average ask the user for three numbers add the numbers divide by 3 print the average # ask the user for three numbers # add the numbers # divide by 3 # print the average ask the user for three numbers divide by 3 print the average
To find the average of three numbers, first input the numbers, then sum them, and finally divide the sum by 3. The comment outline should describe each step in the process. The correct option has comments for each key - step of asking for numbers, adding them, dividing by 3, and printing the average.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
C. # ask the user for three numbers