Appendix I
Currency Conversion Development Assignment—Flowcharts
Complete the flowcharts for the assignment by typing into the textboxes below.
Control Flow Diagram—Main Control
-------------------------------------------------
Begin
Do you want to quit? Quit
?
Provide exit message Display Menu
Yes
No
Convert Currency
Display_Results
End
Begin
Do you want to quit? Quit
?
Provide exit message Display Menu
Yes
No
Convert Currency
Display_Results
End
-------------------------------------------------
Control Flow Diagram—Display Menu
Begin
Menu
Valid selection ?
Error
4
:
Invalid menu selection
No
Yes
End
Quit
?
Yes
Exit Message
Quit
Verified
?
Yes
User Selection
Get_Int_Value
No
Conversion
Verified
?
No
Yes
No
Begin
Menu
Valid selection ?
Error
4
:
Invalid menu selection
No
Yes
End
Quit
?
Yes
Exit Message
Quit
Verified
?
Yes
User Selection
Get_Int_Value
No
Conversion
Verified
?
No
Yes
No |
Control Flow Diagram—Get_Int_Value
Error Message
Error Message
Error Message
Error Message
“Enter Number”
“Enter Number”
User Input
User Input
|
Control Flow Diagram—Convert Currency
French?
French?
Japanese?
Japanese?
Mexican?
Mexican?
Begin
Canadian
?
Rate = Canadian Rate
English
?
No
No
No
No
No Yes
Yes
Yes
Yes
Yes
Rate = Mexican Rate
Rate = English Rate
Rate = Japanese Rate
Rate
=
French Rate
Rate
=
0
.
0
US Value
=
Rate*Int_Value
End Begin
Canadian
?
Rate = Canadian Rate
English
?
No
No
No
No
No Yes
Yes
Yes
Yes
Yes
Rate = Mexican Rate
Rate = English Rate
Rate = Japanese Rate
Rate
=
French Rate
Rate
=
0
.
0
US Value
=
Rate*Int_Value
End |
Control Flow Diagram—Display_Results
Japanese?
Japanese?
English?
English?
Mexican?
Mexican?
Canadian?
Canadian?
Invalid Selection
Invalid Selection
Nation = French
Currency = Francs
Nation = French
Currency = Francs
Nation =