Need Help With A C Language Problem Can You Be Of Help - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Need Help With A C Language Problem Can You Be Of Help (935 Views)
| 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 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:Welcome! The concern should be easy for you to adjust i guess? |
SAS Language Problem Solving • An INEC Voting Console Program Written In C Language • Coding Virus To Kill Computer In C++ Language • 2 • 3 • 4
Uses Of Different Programming Languages • Sme'bundle: Website, Logo, Business Card, Emails, Letterhead Etc. = N45,000 • Get Free Data Subscription Via This DENT App After Registering
but i was able to string this solution together: