Answer to Question #17422 in Action Script | Flash | Flex | ColdFusion for parth sukhadia
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
0
Answer in progress...
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
Adobe Flash
Comments
Leave a comment