Question: Its C+ not java , so please write it in C language. 2. Write a program that uses a for loop to prompt a user

Its C+ not java , so please write it in C language.  Its C+ not java , so please write it in C

2. 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: 22 46 82 13 33

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!