Question: Plz use spyder program, (python). I need help in nested branches and multiple alternative, Use if statement if needed, read the question carefully.! I need
Exercise 2: Write a program that reads an amount of money in OMR and a character and displays the converted amount in a specific currency depending on the character Character d'or "D Displays the equivalent of the amount in Dollars. 1 OMR 2.6 USD e' orE Displays the equrvalent of the amount in Euros. i OMR-22 EUR 'y' or 'Y. | Displays the equivalent of the amount in Yen. I OMR = 291.92 JPY por PDisplays the equivalent of the amount in Pounds. 1 OMR 197 GBP Other valueDisplays an error message Result source : www.se.com-10-10-2017 Please enter the amount that you want to convert: OMR 653 Please enter the currency to be converted to D-Dollars E- Euros YYEN P-Pounds Your selectionis:d XE Currency Converter: OMR to USD 653.00 OMR 1697.80 USD Figure 2: Sample run of Exercise2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
