Question: Need this in apache netbeans ide java program: Create a java program named Multiples.java that reads two integers, determines whether the first is a multiple

Need this in apache netbeans ide java program: Create a java program named Multiples.java that reads two integers, determines whether the first is a multiple of the second and prints the result. For example, if user enters 10 first and 5 second, the program should display "10 is a multiple of 5." If user enters 10 first and 3 second, the program should display "10 is not a multiple of 3.".(Note: 0 is a multiple of any number, and any number other than 0 is not a multiple of 0. Hint: use remainder operator)
Program 2:
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

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!