This GPA Calculator is a simple Java console application designed to help students calculate their Grade Point Average (GPA) based on their course information. Users can input details for each course, including the course code, units, and score, and the application will calculate and display the GPA.
- Input Validation: Ensures that user inputs are valid for course codes, units, and scores.
- Grade Calculation: Utilizes a predefined grade scale to calculate the grade points for each course.
- Modular Design: Separates the concerns of input handling, grade calculation, and GPA computation for code organization.
- Java Development Kit (JDK) installed on your machine.
- Git installed for version control.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Compile the Java files:
javac com/gpacalculator/main/GpaCalculator.java
- Run the application:
java com.gpacalculator.main.GpaCalculator
- Follow the on-screen prompts to input course details and calculate your GPA.
- Enter the number of courses you want to calculate the GPA for.
- For each course, input the course code, units, and score as prompted.
- The application will display the course details and grades in a formatted table.
- The final GPA will be calculated and displayed to the user.