Develop a program to meet the following requirements:
1. Must use at least one function in addition to main (you can use more)
2. Must use selection
3. Must use deference/indirection (the * operator)
Your assignment is to take two integers as input, compare them and
put them in smallest to largest order.
If they are not in smallest to largest order, use an exchange function
to swap their order. If they are already in order, do nothing.
Output both integers in smallest to largest order.
Use the following integer pairs as input (you will want to use more).
7 12
18 3
6 6
-12 0
A simple structure chart is shown below.
Main
|
Exchange