Question: In java please Write a program that prompts the user to enter the exchange rate from currency in U.S. dollars to Chinese RMB. Prompt the
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 to U.S. dollars. Prompt the user to enter the amount in U.S. dollars or Chinese RMB to convert it to Chinese RMB or U.S. dollars, respectively 1 Enter the exchange rate from U.S. dollars to RMB: 6.81 2 Enter to convert dollars to RMB and 1 vice versar o 3 Enter the dollar amount: 100 4 $100.U.S. dollars is 681.0 Chinese Yuan
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
