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
1. 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 6
Values: 2,7,4,33,21,53
2.Write a program that creates an array of 10 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 23,10,94,75,15,36,81,27,36,59
3. 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 locate/find.
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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!