Question: Write a Java program that prompts the user for amount of each foreign currency. Your prompts should look like: Enter number of Mexican Pesos: Enter

Write a Java program that prompts the user for amount of each foreign currency. Your prompts should look like:

Enter number of Mexican Pesos: Enter number of Guatemalan Quetzals: Enter number of Salvadoran Colns:

The current exchange rates for these currencies is:

1 Mexican Peso = 0.0544 USD 1 Guatemalan Quetzal = 0.1305 USD 1 Salvadoran Colon = 0.1144 USD

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 = ______________

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!