Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.12 KB

README.md

File metadata and controls

39 lines (21 loc) · 1.12 KB

GPA Calculator

This is a simple GPA (Grade Point Average) calculator implemented in Java. The program allows you to input your courses along with their respective units and scores, and it calculates your GPA based on this information.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need to have Java installed on your machine to run this program.

Installing

Clone the repository to your local machine.

Running the Program

To run the program, navigate to the directory containing the GPAcalculator.java file and compile it using the Java compiler:

javac GPAcalculator.java

Then, you can run the program using the Java interpreter:

java GPAcalculator

Usage

When you run the program, you will be asked to enter the number of courses. Then for each course, you should enter the name, unit, and score in the format name,unit,score. After all courses are entered, the program will calculate and display your GPA.

Authors

  • Ehsan Torabi Farsani - Initial work