Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started