Create a GUI application that calculates and displays the total travel expenses
ID: 3614628 • Letter: C
Question
Create a GUI application that calculates and displays the totaltravel expenses of a businessperson on a trip. Here is the
information that the usermust provide:
- Numberof days on the trip
- Amountof airfare, if any
- Amountof car rental fees, if any
- Numberof miles driven, if a private vehicle was used
- Amountof parking fees, if any
- Amountof taxi charges, if any
-Conference or seminar registration fees, if any
- Lodgingcharges, per night
The company reimburses travelexpenses according to the
following policy:
- $37 perday for meals
- Parkingfees, up to $10.00 per day
- Taxicharges up t0 $20.00 per day
- Lodgingcharges up to $95.00 per day
- If aprivate vehicle is used, $0.27 per mile driven
The application shouldcalculate and display the following:
- Totalexpenses incurred by the business person
- Thetotal allowable expenses for the trip
- Theexcess that must by paid by the business person, if any
- Theamount saved by the business person of the expenses are
under the total allowed
Explanation / Answer
sorry added by mistake