Question: Must be in Python and use match - case: Develop a currency converter to convert between US dollars, the Canadian dollar, and Japanese Yen given
Must be in Python and use matchcase:
Develop a currency converter to convert between US dollars, the Canadian dollar, and Japanese Yen given the following conversions:
USDCAD
USD
Program Inputs
Available Currencies: AUSD BCAD CYEN
Enter transaction amount:
User will always enter a positive dollar amount; no error checking needed.
Transaction currency:
User will always choose or ; no error checking needed.
Currency to convert to:
User will always choose or ; no error checking needed.
Program Outputs
Converted value: XXX YYY
replace with the final converted value and with the currency name
Conversion not needed...
Display this message if the user picks the same currency twice.
Sample Output
Test Case :
Available Currencies: AUSD B CAD C YEN
Enter transaction amount:
Transaction currency: A
Currency to convert to: A
Conversion not needed...
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
