(20 pts) Using your programming language of choice (from C++,
Java, or Python) , also drawing on your experience from program 1,
read an integer, n from keyboard
(standard input). This integer represents the number of integers
under consideration. After reading that initial integer in, read
n integers in, and print the minimum and maximum
of all the integers that are read in.
Example:
Input
Output
7
1 5 3 6 9 22 2
Min: 1
Max: 22
C++ preferred