A menu-driven Grade Calculator application built using Java and OOP principles.
This project allows users to add student marks, calculate grades, view results, and analyze class performance with detailed statistics.
- β Add student details (name & marks)
- π View all student results
- π View class statistics
- Average marks
- Pass percentage
- Top scorer
- Grade-wise count
- π§± Fully Object-Oriented design
- π¦ Package-based project structure
β οΈ Exception handling for invalid inputs- π Loop-based menu-driven UI
com.gradecalculator
β
βββ model
β βββ Student.java
β
βββ service
β βββ GradeCalculator.java
β
βββ app
β βββ GradeCalculatorApp.java
| Marks Range | Grade |
|---|---|
| 90 β 100 | A+ |
| 80 β 89 | A |
| 70 β 79 | B |
| 60 β 69 | C |
| 50 β 59 | D |
| Below 50 | F |
Pass Marks: 50 and above
- Java OOP (Classes, Objects, Encapsulation)
- Menu-driven program
ArrayListfor storing studentsHashMapfor grade-wise count- Loops & conditional statements
- Exception handling (
try-catch) - Packages & modular design
- Clone the repository
- Open the project in any Java IDE (IntelliJ / Eclipse / VS Code)
- Run
GradeCalculatorApp.java - Use the menu to interact with the system
- Save student results to a file (CSV / TXT)
- Menu option to delete or update students
- Multi-subject support
- JUnit test cases
- GUI version (JavaFX / Swing)