1. Menu-Driven Program
2. User has option to select 1 of 5 international currency types. (Canadian dollars, Mexican pesos, English pounds, Japanese yen, and French francs)
3. Program converts foreign currency to U.S. dollars if values provided are valid.
4. Program displays the equivalent dollar amount.
5. Program returns to main menu, user has option to enter another conversion or quit the program.
~Input-Process-Output Chart~
Input Process Output
Menu Options: User selects 1 of 6 Display Menu Currency Type (Integer) 1 - 5
International Value (Real) 0 - 1,000,000 Get Foreign Value Int_Value (Real) 0 - 1,000,000
Currency Type (Integer) 1 - 5
International Value (Real) 0 - …show more content…
~Test Case 3~
Display Menu Test: Valid Menu Selection = English
Inputs: Menu Selection = 3
Expected Outputs: Nation = English
Get Foreign Value Test: Valid International Value (English) = 100.00
Inputs: 100.00
Expected Outputs: Int_Value = 100.00
Convert Currency Test: Valid International Currency = English
Inputs: Nation = English Int_Value = 100.00
Expected Outputs: US_Value = 60.85
Display Results Test Cases: Valid International Currency = English Inputs: Nation = English Int_Value = 100.00 U.S._Value = 60.85
Expected Output: The conversion for $ 100.00 English Pounds is $ 60.85 US Dollars.
Currency Conversion Integration Test: Valid Selection = English
Inputs: Nation = English Int_Value = 100.00 U.S._Value = 60.85
Expected Output The conversion for $ 100.00 English Pounds is $ 60.85 US Dollars.
~Test Case 4~
Display Menu Test: Valid Menu Selection = Japanese
Inputs: Menu Selection = 4
Expected Outputs: Nation = Japanese
Get Foreign Value Test: Valid International Value (Japanese) = 100.00
Inputs: 100.00
Expected Outputs: Int_Value = 100.00
Convert Currency Test: Valid International Currency = Japanese
Inputs: Nation = Japanese Int_Value = 100.00
Expected Outputs: US_Value = 10,492.00
Display Results Test Cases: Valid