Question: Create a java program TravelBudget.java that asks the user for budget items for a Business Trip. The program should ask user to enter number of
Create a java program TravelBudget.java that asks the user for budget items for a Business Trip. The program should ask user to enter number of days for the trip and the daily price of the hotel. It should also ask user for the miles will be driven for the travel (as the miles will be paid at 52 cents per mile).
The program should find and display the total price of the hotel (days * daily price of the hotel).
The program should find and display the mileage reimbursement to be paid to the person taking the trip (miles * 52 cents).
The program should also find and display the total cost of the trip to the user as well.
The program should format the three amounts shown to the user as currency, where dollars and cents are shown to 2 decimal places. [This is one of the objectives to this assignment so please make sure to do it.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
