Question: Question 1 ) In this scenario, you are creating an application that will allow travelers to convert their currency to other currencies around the world.

Question 1)
In this scenario, you are creating an application that will allow travelers to convert their currency to
other currencies around the world. Write a Java program that will ask the user to provide an amount
of dollars and will convert the amount into Euros, Mexican Pesos, and Japanese Yen. To get input use
the Scanner class. To provide output use the System.out methods.
Question 2)
In this scenario, you are creating a ride-share application. Your application allows users to decide on
their destination before scheduling rides and provides them with an estimate price. For simplicity, you
are only dealing with the part of the program that calculates the distance travelled using coordinates.
Write, compile and run a Java program to calculate the distance between 2 points (x1,y1) and (x2,y2)
by utilizing the formula:
Distance =(x2-x1)2+(y2-y1)22
Allow the user to provide values for point 1 and point 2, and then calculate the total price of the ride,
assuming that each unit of distance costs $1.25.
Use JOptionPane methods for input and output.
Question 1 ) In this scenario, you are creating

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!