A C# Windows Forms application that calculates the total cost of a student's dormitory and meal plan selection. Users select a dormitory and meal plan, and the program computes the individual and combined costs, displaying the results on a separate form.
- Dormitory Selection: Choose from four dormitories, each with a different cost:
- Allen Hall: $1,500
- Pike Hall: $1,600
- Farthing Hall: $1,800
- University Suites: $2,500
- Meal Plan Selection: Choose from three meal plans:
- 7 Meals Per Week: $600
- 14 Meals Per Week: $1,200
- Unlimited Meals: $1,700
- Total Calculation:
- Calculates the total cost for the dormitory and meal plan.
- Displays the individual and grand totals on a results form.
- Error Handling:
- Prompts the user to select both a dormitory and a meal plan if either is missing.
- User-Friendly Interface:
- Radio buttons for intuitive selection.
- Separate results form to clearly display totals.
- C#: Core programming language.
- Windows Forms: Used to build the graphical user interface.
- .NET Framework: Platform used to develop and run the application.
- Open the solution file (
dormCharges.sln) in Visual Studio. - Build and run the project.
This game was developed as part of a Chapter 10 assignment for my programming class. The folder name Drawdy_chapter10_6 reflects the required naming convention for class submissions.