Question: Use c Write a program that takes 3 integer inputs from a user and prints them back in descending order. YOUR PROGRAM MUST HAVE NESTED

Use c Write a program that takes 3 integer inputs from a user and prints them back in descending order. YOUR PROGRAM MUST HAVE NESTED IF-ELSE STATEMENTS!

A session should look exactly like the following example (including whitespace and formatting - although note that there is no whitespace at the end of each of these lines), with all manners of different numbers for inputs and the output:

-2 8 4 8 4 -2 

OR:

22 -41 22 22 22 -41 

Each string printed by the program should include a newline at the end, but no other trailing whitespace (i.e. NO extra space characters at the end of the line). If you DO have extra spaces at the end, then the submit.cs system will flag it as INCORRECT!!

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!