DORM AND MEAL PLAN CALCULATOR A university has the following dormitories: Allen Hall $1,500 per semester Pike Hall $1,600 per semester Farthing Hall $1,800 per semester University Suites $2,500 per semester The university also offers the following meal plans: 7 meals per week $ 600 per semester 14 meals per week $1,200 per semester Unlimited meals $1,700 per semester Create an application with two forms. The main form should allow the user to select a dormitory and a meal plan. The application should show the total charges on the second form.   For this assignment, you will create two forms (each form is an object). On the first form you will have two list boxes. One will display the Dormitories and the other one will display the Meal Plans. The user will select one Dorm and one meal plan. The user will then click a button the will open up a second form and show the results. I would suggest that you store the Dormitories is a two dimensional array for name and cost. I would suggest that you store the Meal Plans is a two dimensional array for name and cost. This will make it is easy to loop through them to find what the user has chosen. The results on the second form should include the following: Name of Dorm Dorm Cost Name of Meal Plan Cost of Meal Plan The total cost A Close button to close the form Must use C Sharp

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter4: The Selection Structure
Section: Chapter Questions
Problem 5E
icon
Related questions
Question

DORM AND MEAL PLAN CALCULATOR

A university has the following dormitories:

Allen Hall

$1,500 per semester
Pike Hall $1,600 per semester
Farthing Hall $1,800 per semester
University Suites $2,500 per semester
The university also offers the following meal plans:
7 meals per week

$ 600 per semester
14 meals per week $1,200 per semester
Unlimited meals $1,700 per semester
Create an application with two forms. The main form should allow the user to select a dormitory and a meal plan. The application should show the total charges on the second form.

 


For this assignment, you will create two forms (each form is an object). On the first form you will have two list boxes. One will display the Dormitories and the other one will display the Meal Plans. The user will select one Dorm and one meal plan. The user will then click a button the will open up a second form and show the results.

I would suggest that you store the Dormitories is a two dimensional array for name and cost. I would suggest that you store the Meal Plans is a two dimensional array for name and cost. This will make it is easy to loop through them to find what the user has chosen.

The results on the second form should include the following:

Name of Dorm
Dorm Cost
Name of Meal Plan
Cost of Meal Plan
The total cost
A Close button to close the form

Must use C Sharp

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning