Question: Homework 1-1 You just returned from a trip. The countries you visited were St Lucia, The Dominican Republic and Brazil. You arrived back in the

Homework 1-1

You just returned from a trip. The countries you visited were St Lucia, The Dominican Republic and Brazil.

You arrived back in the United States with some foreign currency from these countries. Write a Java program that prompts the user for the amount of each foreign currency. Your prompts should look like:

Enter number of Eastern Caribbean Dollars : Enter number of Dominican Pesos : Enter number of Brazilian Reals : The current exchange rates for these currencies is:

1 Eastern Caribbean Dollar = 0.37 US $ 1 Dominican Peso = 0.019 US $ 1 Brazilian Real = 0.239 US $ Your Java program should convert the amounts entered by the user and compute and display the total amount of US Dollars. Your output should look like:

US Dollars = $total amount of US Dollars

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!