Appendix I
Currency Conversion Development Assignment—Flowcharts
Complete the flowcharts for the assignment above by typing into the textboxes below.
Control Flow Diagram—Main Control
[pic]
Control Flow Diagram—Display Menu
| |
|[pic] |
Control Flow Diagram—Get_Int_Value
| |
|[pic] |
Control Flow Diagram—Convert Currency
| |
|[pic] |
Control Flow Diagram—Display_Results
|[pic] |
PSEUDOCODE
Main Module
Declare Selection as an integer
Declare CurrencyType as string
Declare USDollar as real
Declare ConvertedAmount as real
Call Display/Selection Module
Call Canadian Module
Call Mexican Module
Call English Module
Call Japanese Module
Call French Module
Call Quit Module
Call Output Module
End Program
End Main Module
Display Menu Module
Write “Welcome. Please choose one of the following:”
Write “Selection 1 = Canadian Conversion”
Write “Selection 2 = Mexican Conversion”
Write “Selection 3 = English