Question: Please answer the following in java 1 . Write a program that will ask the user to enter the size of an integer array. Then
Please answer the following in java
Write a program that will ask the user to enter the size of an integer array. Then the program will prompt the user to enter the values. The program will then use the array to find and print the sum and average.
Test your program on
Array size
Values:
Write a program that creates an array of integers. The program will ask the user to enter the values and then uses the array to find the maximum value stored.
The program will display the
The array
The maximum value
The index of the maximum value.
Test your program on
Write a program that will ask the user to enter the following information
Tyler David, Susan, John, Dean, Alison
Then the program will as the user to enter the name they would like to locatefind
The program will print the array and then location if found;otherwise will print the message Not found
Use linear search algorithm.
Test your program on
Jack
Susan
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
