Explore BrainMass
Share

The Currency Conversion Program

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

Generate a set of test inputs and expected results for the Currency Conversion program. Post the test procedure as an attachment.

Please see the attachment the Currency Conversion Program with the tables.

© BrainMass Inc. brainmass.com March 21, 2019, 5:29 pm ad1c9bdddf
https://brainmass.com/computer-science/error-detection-correction/currency-conversion-program-222460

Attachments

Solution Preview

Currency Conversion Integration Test EXAMPLES -

Test Case 1: Valid Selection = Canadian
Inputs:
Currency_Type = 1
Int_Value = 100.0
U.S._Value = 68.12

Expected Output:
The value of 100.0 Canadian dollars is 68.12 U.S. dollars

Test Case 2: Valid Selection = Quit
Inputs:
Currency_Type = 6
Continue = "n"

Expected Output:
Thank you for using the Currency Conversion Program

Test Case 3: Illegal Currency Amount
Inputs:
Currency_Type = 1
Int_Value = "L"

Expected Outputs
Error 2: Illegal Input
Strike any character or numeric key to continue
_____________________________________________________________________________

Currency Conversion program
Pseudocode
Main Module

Declare selection as integer
Declare currencyType as Integer
Declare internationalValue as ...

Solution Summary

This solution provides test inputs and expected results for a currency conversion program.

$2.19