Sie sind auf Seite 1von 5

Appendix I IT/210 Version 5

Associate Program Material


Appendix I Currency Conversion Development AssignmentFlowcharts
Complete the flowcharts for the assignment by typing into the textboxes below. Control Flow DiagramMain Control

Begin

Do you want to quit module?

Provide exit message

Yes

Quit?
No

End

Display Menu

Convert Currency

Display Results

Appendix I IT/210 Version 5 Control Flow DiagramDisplay Menu

Begin

Selection/Option Menu

Aquire User Input

Error 4: Invalid menu selection

No

Valid selection? Yes Quit? No Aquire Int Value Quit Verified? No Yes Provide Exit Selection

Conversion Verified? Yes End

No

Yes

Appendix I IT/210 Version 5 Control Flow DiagramGet_Int_Value

Begin

Input number from user

Take input from user

Display error message

No

Legal input?
Yes

Valid Input?
Yes

No

Display error message

End

Appendix I IT/210 Version 5 Control Flow DiagramConvert Currency

Begin

Canadian ?
No

Yes

Add text here

text text
No

Yes

Add text here

English ?
No

Yes

Add text here

text
No

Yes

Add text here

text
No

Yes

Rate = French Rate

Rate = 0.0

US Value = Rate*Int_Value

End

Appendix I IT/210 Version 5 Control Flow DiagramDisplay_Results


Begin

text
No

Yes

Nation = Canadian Currency = Dollars

text
No

Yes

Add text here

text
No

Yes

Add text here

text
No

Yes

Add text here

French ?
No

Yes

Add text here

Add text here

Error 5: Invalid Currency Type

Yes

Currency = null?
No

print Nation, Int_Value, Currency, US Value


No

End

Das könnte Ihnen auch gefallen