Complete a hierarchy chart for the application by typing into the textboxes below.
Main Module
Display_Results Module
Get_Int_Value
Module
Display_MenuModule
Convert_Currency Module
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
-------------------------------------------------
Control Flow Diagram—Display Menu
Begin
Selection Menu
Valid selection ?
Error
4
:
Invalid menu selection
No
Yes
End
Quit
?
Yes
Provide exit message
Quit
Verified
?
Yes
Take Selection from user
Get_Int_Value
No
Conversion
Verified
?
No
Yes
No |
Control Flow Diagram—Get_Int_Value
Display Error
Message
Display Error Message
Tell user to enter a number
Take input from user
|
Control Flow Diagram—Convert Currency
French ?
Japanese
?
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 |
Control Flow Diagram—Display_Results
Invalid Selection
Nation = French Currency = Francs
Nation = Japanese Currency = Yen
Nation = English Currency = Pounds
Nation = Mexican Currency = Pesos
Canadian ?
Mexican
?
English ?
Japanese ?
|
Module Main()
Declare option = 0;
Declare value = 0;
Declare converted = 0;
Display(“ Currency Convertor”);
Display(“1. Canadian dollars to