Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Dormitory and Meal Plan Charge Calculator

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.

Features

  • 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.

Technologies

  • C#: Core programming language.
  • Windows Forms: Used to build the graphical user interface.
  • .NET Framework: Platform used to develop and run the application.

How to Run

  1. Open the solution file (dormCharges.sln) in Visual Studio.
  2. Build and run the project.

About This 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.