₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,328,364 members, 8,435,356 topics. Date: Sunday, 28 June 2026 at 01:56 PM

Toggle theme

Need Help With A C Language Problem Can You Be Of Help - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingNeed Help With A C Language Problem Can You Be Of Help (934 Views)

1 Reply (Go Down)

Need Help With A C Language Problem Can You Be Of Help by phrezzz(op): 10:15pm On Aug 05, 2018
i want to write a program that would calculate the gp of a semester on a 5point scale in c language. the program will request for student score, and assign grades to it. i.e if grade >70 && <=100 it should print A, 60-69= B, 50-59=c, 45-49=D and 0 to 44= F. it will return 5 if grade is A, 4 if grade is B, C=3, D=2, F=0. it would multiply each (grade with the unit load=totalpoint ) then sum of the total point divided by the total unit load. thank you
Re: Need Help With A C Language Problem Can You Be Of Help by gmart(m): 12:27pm On Aug 06, 2018
Its been a while, my C skills might be a bit rusty wink but i was able to string this solution together:

https://pastebin.com/YdwM6mBQ
Re: Need Help With A C Language Problem Can You Be Of Help by phrezzz(op): 1:15pm On Aug 06, 2018
Awesome man! But just to add in your program Ur grade should not return 1 when a student scores between 30 to 44 its assumed it is 0
Re: Need Help With A C Language Problem Can You Be Of Help by gmart(m): 1:37pm On Aug 06, 2018
phrezzz:
Awesome man! But just to add in your program Ur grade should not return 1 when a student scores between 30 to 44 its assumed it is 0
Welcome! The concern should be easy for you to adjust i guess?
1 Reply

SAS Language Problem SolvingAn INEC Voting Console Program Written In C LanguageCoding Virus To Kill Computer In C++ Language234

Get To Make $100 Every Month With Just Your Android DeviceCom In It's URGENTHow Do I Setup Bootstrap Sass Using Koala