GPA program

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
kwadhva420
Newbie
Posts: 1
Joined: Tue Apr 14, 2009 11:21 am

GPA program

Post by kwadhva420 »

can u plz tell me how to write a program that calculates students gpa?

thankx!
User avatar
burger2227
Veteran
Posts: 2467
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

Figure out how many classes are taken and get each class grade as a number value. A = 4, B =3, C = 2, D = 1.

Add all of the class grades and divide by the number of classes taken.

THIS IS HOMEWORK AIN"T IT? Show me your code so far. We don't help slackers who cannot do any code!
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Post Reply