Question: In this assignment, you write a C++ program that computes and outputs the smallest and the largest number in a given list of 20 integers.
In this assignment, you write a C++ program that computes and outputs the smallest and the largest number in a given list of 20 integers. Your program does not need to be efficient, but it has to be correct. For example, Input: 10 11 5 7 4 2 7 5 7 11 2 5 11 4 10 7 5 2 7 10 Output: the smallest is 2, the largest is 11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
