Gui project in visual basicnet - dorm and meal plan


Assignment

Part 1. GUI Project in Visual Basic.NET - Dorm and Meal Plan Calculator

Suppose a university has the following dormitories, offered at these prices:
- Allen Hall $2,500 per semester
- Pike Hall $2,200 per semester
- Farthing Hall $2,100 per semester
- University Suites $2,800 per semester
Let us also assume the university also offers these meal plans:
- 7 meals per week $1,560 per semester
- 14 meals per week $2,095 per semester
- Unlimited meals $2,500 per semester

Create an application with a module and two forms. The module holds defined constants for the various dormitories and meal plans. The startup form holds the names of the dormitories, a set of buttons, a status bar, and labels that display semester charges, as shown in Figure 1. A second form holds the list of meal plans, and selection but- tons, shown in Figure 2. When the user selects a dormitory and meal plan, the application should show the total charges for the semester on the startup form.

Note: Use code statements in the Form Load event handler for each form to initialize the list boxes with the names of the dormitories or meal plans, along with their prices. This must be done at runtime, to allow future changes in the values of price constants to be displayed correctly in the list boxes.

2312_Dorm and Meal Plan Calculator.jpg

2294_meal plan.jpg

Part 2. Create a solution to the following problem:

Note:Submit 4 projects --- Visual Basic .NET, JavaSCript, C++, and Python.

Travel Expenses
Create an application that calculates and displays the total travel expenses for a business trip. The user must provide the following information:
- Number of days on the trip
- Amount of airfare, if any
- Amount paid for meals, 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 be paid by the business person, if any
- The amount saved by the business person if the expenses were under the total allowed

The application should have the following functions:

CalcMeals Calculates and returns the amount reimbursed for meals.
CalcMileage Calculates and returns the amount reimbursed for mileage driven in a private vehicle.
CalcParkingFees Calculates and returns the amount reimbursed for parking fees.
CalcTaxiFees Calculates and returns the amount reimbursed for taxi charges.
CalcLodging Calculates and returns the amount reimbursed for lodging.
CalcTotalReimbursement Calculates and returns the total amount reimbursed.
CalcUunallowed Calculates and returns the total amount of expenses that are not allowable, if any. These are parking fees that exceed $10.00 per day, taxi charges that exceed $20.00 per day, and lodging charges that exceed $95.00 per day.
CalcSaved Calculates and returns the total amount of expenses under the allowable amount, if any. For example, the allowable amount for lodging is $95.00 per day. If a business person stayed in a hotel for $85.00 per day for five days, the savings would be $50.00.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Gui project in visual basicnet - dorm and meal plan
Reference No:- TGS02676374

Expected delivery within 24 Hours