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
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