Question: please use C++ program and #include and #include Write a program that takes in a sequence of integers, and prints the second largest number and
please use C++ program and #include

Write a program that takes in a sequence of integers, and prints the second largest number and the second smallest number. Note that in the case of repeated numbers, we really mean the second largest and smallest out of the distinct numbers (as seen in the examples below). You may only use the headers:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
