subject

Homework 1-1 You just returned from a trip. The countries you visited were Jamaica, The Dominican Republic and Cuba. 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. (Hint: Use the Scanner class) Your prompts should look like this: Enter number of Jamaican Dollars : Enter number of Dominican Pesos : Enter number of Cuban Pesos : The current exchange rates for these currencies is: 1 Jamaican Dollar = 0.0069 US $ 1 Dominican Peso = 0.017 US $ 1 Cuban Peso = 0.042 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 zybook

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
What is a costume plot? why is it important to a film or theater production?
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
Now, open this passage to read about fafsa requirements. describe the information you will need to provide in order to complete a fafsa. list at least three of the required documents you must include.
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
What is the difference between the internet and the world wide web?
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
How to apply the fly in effect to objects on a slide
Answers: 1
You know the right answer?
Homework 1-1 You just returned from a trip. The countries you visited were Jamaica, The Dominican Re...
Questions
question
World Languages, 29.09.2019 12:50
question
Mathematics, 29.09.2019 12:50
question
History, 29.09.2019 12:50
question
Computers and Technology, 29.09.2019 12:50
question
Biology, 29.09.2019 12:50
question
Physics, 29.09.2019 12:50