Dorm and meal plan calculator

Assignment Help Programming Languages
Reference no: EM131880882

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.

Reference no: EM131880882

Questions Cloud

What is the probability that a randomly selected? 3-year : What is the probability that a randomly selected? 3-year-old is enrolled in day? care?
Compare the utilitarian justice and retributive justice : Compare and contrast the utilitarian justice and retributive justice perspectives. In your response, explain why the two perspectives are in conflict
Estimate the true value of a response variable : Which of the following interval estimates is used when one wants to estimate the true value of a response variable (Y) for a given
What is oppositional defiant disorder : What is "Oppositional Defiant Disorder" and what are its key characteristics? What are the key differences between ADHD and ODD?
Dorm and meal plan calculator : GUI Project in Visual Basic.NET - Dorm and Meal Plan Calculator - Create an application with a module and two forms. The module holds defined constants
Describe the three types of major gangs : Describe the three types of major gangs and their level of criminal activity. Do gangs pose a threat to the goals of community policing
What is the pmf of the number of red balls in sample : An urn has 3 red, 3 green and 4 yellow balls. A simple random sample of 2 balls is taken from the urn (this means without replacement).
Should n be penalized for failure to file : On April 10, 2016, N realized that she would not be able to file her 2015 tax return by April 15, 2016. She phoned her accountant and told him.
State the sample space of the random experiment : In each of these cases, (a) state the sample space of the random experiment, (b) find the number of all possible outcomes

Reviews

len1880882

2/27/2018 3:46:26 AM

Programming Languages.... Hello Dear, Please See the file then I would like you when you finish the assignment to connect on TeamViewer to do it on my computer on Visual Studio 2017. So, name the project Assignment 2 Thank you

Write a Review

Programming Languages Questions & Answers

  Translate the program into three address statements

Translate the program into three-address statements of the type we have been using in this section. Assume integers require 4 bytes.

  Create a project displays aisle number of movie category

A Search Button should located the correct location. from the array and display it in a lable. Make sure that the user has selected a category from the list and use the list box SelectedIndex property to find the appropriate aisle number.

  Create a program that uses the same formula

Create a program that uses the same formula above to output the result; this time, however, prompt the user for the values a, b, x, and y.

  Find the maximum and minimum of a list of numbers

Write a prolog program to find the maximum and minimum of a list of numbers.

  Evaluate the function

Can you please see below and review attachment. (adding parameters to functions & using function parameters)

  Write program that outputs to a listbox first hundred emirps

Write a program that outputs to a ListBox the first 100 emirps. Your program must contain the method from Part 1 that returns true if a number is prime.

  Create a script file that generates a row vector

Create a script file that generates a row vector of 10 random numbers from 5 to 15 - Call your function using your array of random numbers and the scalar value of 22.

  Prepare calculator application - mock objects for testing

Which other classes do you think will need to be stubbed with mock objects for testing the application? For each class you identify explain why you think that class needs mocking and at least three di erent mocked behaviours you will need.

  Determine total cost of order-display it in alert dialog box

After you determine the total cost of the order (purchase plus shipping and handling), display it in an alert dialog box.

  Program to swap values from variables

Given two int variables, firstPlaceWinner and secondPlaceWinner , write some code that swaps their values. Declare any additional variables as necessary.

  What are the consequences of not citing computer programs

Review the document on code citation and documentation guidelines in the Course Materials section of your student Web site and the Avoiding Plagiarism tutorial available on your student Web site. Discuss the issues of proper citation as they apply..

  Display program description to user before asking for input

Display a program description to the user before asking for any input. Defines a constant for PI, using fixed notation, carried out to 5 decimal places (value for Pi was given in program 1).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd