Question: C language 1: whiteboarda code that prompts the user to enter in two integers, scans in the two integers, and then prints out the two
C language
1: whiteboarda code that prompts the user to enter in two integers, scans in the two integers, and then prints out the two integers in reverse order.
2: modify the code such that the integers are always printed in ascending order. That is, the greater valued integer is always printed last. This requires basic logic and branching. Again, whiteboard your code, by explaining the changes/additions as they are made.
3: further extend the code to now read in three integers and print out only the greatest valued integer. This requires additional logic and branching.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
