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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education