Question: Write c++ program 3. Write a program that uses a for loop to prompt a user to enter a series of 5 ints reads in

Write c++ program  Write c++ program 3. Write a program that uses a for

3. Write a program that uses a for loop to prompt a user to enter a series of 5 ints reads in the five ints, and determines which of the five numbers was the largest and which of the five numbers was the smallest. Once the for loop is over, the program should output the largest number and the smallest number to the screen Test your program with the following numbers: 12 42 96 8 24

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!