Question: Must be Python and use match - case Develop a currency converter to convert between US dollars, the Canadian dollar, and Japanese Yen given the

Must be Python and use match-case
Develop a currency converter to convert between US dollars, the Canadian dollar, and Japanese Yen given the following conversions:
1USD=1.24CAD
1USD=108.59JPY
Program Inputs
Available Currencies: A)USD B)CAD C)YEN
Enter transaction amount:
User will always enter a positive dollar amount; no error checking needed.
Transaction currency:
User will always choose A,B, or C; no error checking needed.
Currency to convert to:
User will always choose A,B, or C; no error checking needed.
Program Outputs
Converted value: XXX YYY
replace xxx with the final converted value and YYY with the currency name
Conversion not needed...
Display this message if the user picks the same currency twice.
Sample Output
Test Case 1:
Available Currencies: A)USD B) CAD C) YEN
Enter transaction amount: 5.00
Transaction currency: A
Currency to convert to: A
Conversion not needed...
 Must be Python and use match-case Develop a currency converter to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!