Stats: 3,186,274 members, 7,928,911 topics. Date: Friday, 23 August 2024 at 03:44 AM |
Nairaland Forum / Science/Technology / Programming / Need Help With A C Language Problem Can You Be Of Help (854 Views)
SAS Language Problem Solving / An INEC Voting Console Program Written In C Language / Coding Virus To Kill Computer In C++ Language (2) (3) (4)
Need Help With A C Language Problem Can You Be Of Help by phrezzz: 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 ![]() https://pastebin.com/YdwM6mBQ |
Re: Need Help With A C Language Problem Can You Be Of Help by phrezzz: 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? |
(1) (Reply)
Would You Like to Learn How to Program a Forex Robot (Beginner Friendly) / Ethical Hacking Tutorial / Cybersecurity.... / Why You Need A Magento Mobile App?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |