It210 Final Project

Submitted by: Submitted by

Views: 688

Words: 1116

Pages: 5

Category: Other Topics

Date Submitted: 02/15/2012 09:20 AM

Report This Essay

Final Project (Currency Conversion Program)

Final Project (Currency Conversion Program)

Application-Level Requirements

Application-Level Requirements List

1. Display Welcome message “Welcome to Currency Conversion Program.”

2. Display “This program will help with conversion of foreign currency to U.S. Dollars.”

3. Display “Which currency will be converted.”

4. The application will then convert the currency.

5. The application will then display currency in U.S. Dollars.

Input-Process-Output Chart

Complete the following Input-Process-Output chart for the application using a structured programming approach.

Input | Process | Output |

Welcome Message | Display Welcome Message | Welcome Message |

Menu Options | Display Menu | Menu Options |

Menu Choice: Currency | Get User Input | Menu Choice: Currency |

Currency Amount | Get User Input | Currency Amount |

Currency Conversion Formula | Convert Currency | Equivalent U.S. Dollars |

Hierarchy Chart

Complete a hierarchy chart for the application above by typing into the textboxes below.

Welcome Message

Convert Currency

Currency Amount

Menu Choice

Menu Options

Currency Conversion Development Assignment—Flowcharts

Complete the flowcharts for the assignment above by typing into the textboxes below.

Control Flow Diagram—Main Control

-------------------------------------------------

Begin

Display Menu

Quit

?

Provide exit

message

Get Int Value

Yes

No

Convert Currency

Display Results

End

-------------------------------------------------

Control Flow Diagram—Display Menu

Begin

List Menu Items

Valid

selection

?

Error

4

:

Invalid

menu selection

No

Yes

End

Quit

?

Yes

Verify Quit

Quit

Verified

?

Yes

Get Selection

Verify Continue with Conversion

No

Conversion

Verified

?

No

Yes

No

|

Control Flow Diagram—Get_Int_Value

Error 1: Invalid Input

Error 2: Illegal Value...