GPA Calculator Program

Gpa Calc Banner2
Calculating the GPA after every semester can be quite tricky. That is why I’ve created this program to help me calculate much easier.
This was actually inspired by one of my C++ Assignments but the program can only be used to calculate GPA in my college because every university or college have their own grading system.

To overcome that, I’ve overhauled the program to accept different grading system.
The user just have to edit the configuration file once and the program will calculate the GPA based on that.

I’ve decided to share my work and I hope it is useful to you.
To show your support, ‘Like’ this website. Thank you.
If you’ve come across any bugs or errors, please email me at waihung@waihung.net.

Download
.zip 163KB

I would highly recommend you to read the instructions below.

1

Extract the .ZIP file

2
Edit the configuration file “config.txt”

You should never change the name of this file. Keep it as config.txt.
To open, double-click on it and Notepad should appear.
Here, you can change the grading system accordingly.
If desired, you can also add additional grades (such as A+ which is not present in the example below) and delete any unwanted grades.

When done, click on File, then Save. You may close the file now.

3
Launch the program and enter required inputs

You should get the output as shown above.

Download Code

 

  1. mun03-30-2014

    hye, ive downloaded the code but it seems diddnt work out? the only ting thaat come out is THE PROGRAM CANNOT OPEN and so on.
    why?

    • Wai Hung03-30-2014

      Extract the entire folder into your computer.
      Don’t just double click and open from winrar or winzip.

  2. self storage05-04-2013

    Hi my loved one! I wish to say that this post is awesome, great written
    and include almost all significant infos. I’d like to look extra posts like this .

  3. you’re in point of fact a just right webmaster. The web site loading pace is incredible. It sort of feels that you’re
    doing any unique trick. In addition, The contents are masterpiece.
    you’ve done a excellent activity on this matter!

  4. You need to be a part of a contest for one of the
    highest quality sites online. I will recommend this blog!

  5. abi10-28-2012

    Hello there, can u teach me how to do programming to calculate gpa, I really need your help, need to include subject code, credit hour and mark, thats it. Your help would be much appreciated. Thank you

    • waihung10-28-2012

      Hi abi 🙂
      To calculate GPA, first you need to have these information, i will assign an alphabet to it. Let’s assume you only have two subjects for that semester.

      c1 = credit hours for subject #1, c2 = credit hours for subject #2
      g1 = grade for subject #1, g2 = grade for subject #2
      t = c1 + c2 = total credit hours

      The formula is :
      [ (c1 x g1) + (c2 x g2) ] / t

      Hope you understand my explanation 🙂

Leave a Reply to grade average calculator Click here to cancel reply.