Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need these codes in java please 2. Please name your program XXX_P02 where XXX are your initials. Create a GUI application that calculates and

I need these codes in java please

image text in transcribed

2. Please name your program XXX_P02 where XXX are your initials. Create a GUI application that calculates and displays the total travel expenses of a businessperson on a trip. Here is the information that the user must provide: - Number of days on the trip - Amount of airfare if any - Amount of car rental fees if any - Number of miles driven if a private vehicle was used - Amount of parking fees if any - Amount of taxi charges if any - Conference or seminar registration fees if any - Lodging charges, per night The company reimburses travel expenses according to the following policy: - $37 per day for meals - Parking fees, up to $10.00 per day - Taxi charges up to $20.00 per day - Lodging charges up to $95.40 per day - If a private vehicle is used, $0.27 per mile driven The application should calculate and display the following: - Total expenses incurred by the businessperson - The total allowable expenses for the trip - The excess that must be paid by the businessperson, if any - The amount saved by the businessperson if the expenses are under the total allowed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

=+nk so that p( B(k)) Answered: 1 week ago

Answered: 1 week ago