Create the logic for a program that prompts a user for


Problem

1. Create the logic for a program that prompts a user for three numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. Display the reversed numbers in the main program.

2. 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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create the logic for a program that prompts a user for
Reference No:- TGS02648653

Expected delivery within 24 Hours