Question: Problem 2 (10 points - Elapsed Time Write a Java application class named TravelTime that prompts the user to enter the following information: the number

Problem 2 (10 points - Elapsed Time Write a Java application class named TravelTime that prompts the user to enter the following information: the number of miles traveled for a vacation trip and the average driving speed for the trip. As output the program will display the time it took to make the trip. Please use the sample program run to determine the data types you are to use to arrive at the solution. Sample Program Run Enter the number of miles traveled: 183.67 Enter the average speed: 58 The elapsed time for the trip is 3.17 hours
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
