Question: I need this created in Java programming code in the simplest way possible. *3.31 (Financials: currency exchange) Write a program that prompts the user to
*3.31 (Financials: currency exchange) Write a program that prompts the user to enter the exchange rate from currency in U.S. dollars to Chinese RMB. Prompt the user to enter 0 to convert from U.S. dollars to Chinese RMB and 1 to convert from Chinese RMB and U.S. dollars. Prompt the user to enter the amount in U.S. dol- lars or Chinese RMB to convert it to Chinese RMB or U.S. dollars, respectively. Here are the sample runs: Enter the exchange rate from dollars to RMB: 6.81 Enter Enter 0 to convert dollars to RMB and 1 vice versa: 0 Enter Enter the dollar amount: 100 nter $100.0 is 681.0 yuan Enter the exchange rate from dollars to RMB: 6.81 mter Enter 0 to convert dollars to RMB and 1 vice versa: 5 Enter Enter the RMB amount: 10000 Enter 10000.0 yuan is $1468.43
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
