Question: 1. Write a program that accepts 10 numbers into an array and then finds and displays the average of the numbers. 2. Write a program

 1. Write a program that accepts 10 numbers into an array

1. Write a program that accepts 10 numbers into an array and then finds and displays the average of the numbers. 2. Write a program that accepts 10 values into an integer array and then prints the largest and the smallest values existing in the array. 3. Write a program that accepts 10 numbers into an array and searches for a value in the array using the linear search algorithm. 4. Write a program that accepts 10 numbers into an array and searches for all occurrences of a value in the array using the linear search algorithm. The program should also display the total number of times it is present in the array. 5. Write a program that accepts 10 numbers into an array. Take the input of two numbers Original and Replacement. The program then replaces all occurrences of a Original by Replacement in the array using the linear search algorithm. Display the original and the new array

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!