You are on page 1of 5

Axia College Material

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

Begin

Would you like


to Quit?

Thank you Yes Quit?

No

End
Display Menu

Convert
currency

Display
Results

IT 210
Control Flow Diagram—Display Menu

Begin

Selection Menu

Take Selection
from user

Error 4: Invalid Valid


menu selection No selection?

Yes

Provide Exit
Quit? Yes Message

No

Get_Int_Value Quit No
Verified?

Conversion No
Verified?

Yes
Yes
End

IT 210
Control Flow Diagram—Get_Int_Value

Begin

Tell user to
enter a number

Take input
from user

Error Message Legal


No
input?

Yes

Valid Error Message


No
Input?

Yes

End

IT 210
Control Flow Diagram—Convert Currency

Begin

Canadian Rate = Canadian


Yes
?
Rate
No

Mexican Yes Rate = Mexican Rate


?

No

English Rate = Pound Rate


Yes
?

No

Japanese Rate = Japanese Rate


Yes
?

No

French Yes Rate = French Rate


?

No

Rate = 0.0

US Value =
Rate*Int Value

End

IT 210
Control Flow Diagram—Display_Results
Begin

Canadian Nation = Canadian


Yes
? Currency = Dollars

No

Mexican Yes
Nation = Mexican
? Currency = Pesos

No

English Nation = English


? Yes Currency = Pound

No

Japanese Nation = Japanese


? Yes Currency = Yen

No

French Nation = French


?
Yes Currency = Francs

No

Invalid Selection

Error 5: Invalid Currency


Yes
Currency Type = null?

No

print Nation, Int_Value,


Currency, US Value

No

End

IT 210

You might also like