Question: This must be created in Java: Create a currency converter that converts from USdollars(USD) to Chinese Yuan(RMB). Requirements: The initial prompts will be: Enter the

This must be created in Java:

Create a currency converter that converts from USdollars(USD) to Chinese Yuan(RMB).

Requirements:

The initial prompts will be:

Enter the exchange rate from dollars to RMB:

A numeric, decimal amount will be entered

Enter 0 to convert dollars to RMB or 1 vice versa:

A zero or one will be entered

Based on the user response, the prompt willbe

Enter the dollar amount: OR Enter the RMB amount:

The conversion amount will be calculated and the finaloutput will be

$99 is 99 Yuan OR 99 Yuan is $99

Required output, given exchange rate of 6.81, conversionfactor 0, and 100 dollars

$100.00 is 681.00 Yuan

Notes:

This solution should include methods.

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 Programming Questions!