Question: (C++ ) (arrays) Write a program that lets the user enter 10 values into an array. The program should then display the largest and the
(C++ ) (arrays)
Write a program that lets the user enter 10 values into an array. The program should then display the largest and the smallest values stored in the array.
The program should display the following message to the user at the beginning "This program will ask you to enter ten values. Then it will determine the largest and smallest of the values you entered.Please enter 10 integers separated by spaces: " And then after user entered the numbers, it should display the following: "The largest value entered is " followed by the largest number found, and "The smallest value entered is " followed by the smallest number found.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
