currency conversion design
|
Appendix I IT/210 Version 5 |
1 |
Associate Program Material
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 Add text here Quit ? Provide exit message Add text here Yes No Add text here Add text here End )
Control Flow Diagram—Display Menu
|
( Begin Add text here Valid selection ? Error 4 : Invalid menu selection No Yes End Quit ? Yes Add text here Quit Verified ? Yes Add text here Add text here No Conversion Verified ? No Yes No ) |
Control Flow Diagram—Get_Int_Value
|
(
Add text here
) (
Add text here
) (
Add text here
) (
Add text here
) |
Control Flow Diagram—Convert Currency
|
( text ) ( text ) ( text text here ) ( Begin Canadian ? Add text here English ? No No No No No Yes Yes Yes Yes Yes Add text here Add text here Add text here Rate = French Rate Rate = 0 . 0 US Value = Rate*Int_Value End ) |
Control Flow Diagram—Display_Results
|
(
Add text here
) (
Add text here
) (
Add text here
) (
Add text here
) (
Add text here
) (
text
) (
text
) (
text
) (
text
)
|
Begin
Legal
input
?
No
Yes
End
Valid
Input
?
No
Yes
Begin
Nation
=
Canadian
Currency
=
Dollars
French
?
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
End
Currency
=
null
?
Yes
Error
5
:
Invalid
Currency Type
No
print Nation
,
Int
_
Value
,
Currency
,
US Value
No