6.9k views
2 votes
Your program will ask for user input of three (3) numbers. Then find the average of these numbers and print the result with a describing statement.

A. Input three numbers and find their sum, then calculate the average.
B. Input two numbers and find their average, then print the result.
C. Input three numbers, calculate their product, and print the result.
D. Input two numbers and display their difference.

User Kinkajou
by
7.9k points

1 Answer

1 vote

Final answer:

To find the average of three numbers, add them up and divide by the number of numbers.

Step-by-step explanation:

To find the average of three numbers, you need to add them up and then divide the sum by the number of numbers (which in this case is 3). So for option A, you would add the three numbers and then divide the sum by 3. For example, if the three numbers are 4, 5, and 7, you would calculate the average as (4 + 5 + 7) / 3 = 5.33.

User Nayem Jaman Tusher
by
7.4k points