Need to have it created for C# Create a GUI application that calculates and disp
ID: 2247550 • Letter: N
Question
Need to have it created for C#
Create a GUI application that calculates and displays the total
travel expenses of a business person 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.00 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 business person
- The total allowable expenses for the trip
- The excess that must by paid by the business person, if any
- The amount saved by the business person of the expenses are
under the total allowed
Example:
Travel Expences Number of Days: 3 Amount of airfare: 200 Car rental fees: $100 Number of miles: 300 Parking fees: $15 Taxi charges: $80 Seminar fees: s 30 Lodging fees per night: $ 20 Meals per day: $37.0 Parking fee per day: $10.0 Taxi charges per day: $20.0 Lodging charges per day: $95.0 Chargers per mile: $0.27 Display the details Message Total expenses by business person: $566.0 Allowalble expenses for the trip: $567.0 Amount saved by the business person: $1.0 OKExplanation / Answer
THE BELOW CODE IS WORKING FINE ON THE GIVEN REQUIREMENTS
THANK YOU
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.