Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create the logic for a program that prompts a user for 10 numbers and stores the

ID: 3534724 • Letter: C

Question

Create the logic for a program that prompts a user for

10 numbers and stores them in an array. Pass the array to a

method that calculates the arithmetic average of the numbers

and returns the value to the calling program. Display

each number and how far it is from the arithmetic average.

Continue to prompt the user for additional sets of 10 numbers

until the user wants to quit.

logic must have the following:

Calculate Average Using Method

Pass array to method

Method sums numbers and divides by 10

Loop to output number and difference from average

Ask if want to run again and code to check answer

Explanation / Answer

conact me on timacs12@gmail.com you can rate after getting the answer

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote