Question: in C not C++ Exercise 1 Exercise Objectives Using simple input and output statements Using selection structure Using logical operators Problem Description Write a C

in C not C++ in C not C++ Exercise 1 Exercise Objectives Using simple input and

Exercise 1 Exercise Objectives Using simple input and output statements Using selection structure Using logical operators Problem Description Write a C program that: Prompts the user to input 6 numbers Reads in the 6 numbers Finds and Prints the smallest number Finds and Prints the largest number Finds and prints the second largest number Add your name, your University ID number and section number as a comment in this program. Sample output : Enter 6 numbers: 7 18 19 25 -5 6 The smallest number is: -5 The largest number is : 25 The second largest number is: 19

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!