C programming | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

C programming

How can i write a program to compute the cgpa of a student.

25th Sep 2017, 11:33 AM
Tosin
4 Respuestas
+ 12
Basic according to CBSE India(don't know grading system of others) 1.Enter Marks of subjects . 2.Calculate the total. 3.Calculate the Percentage. 4.C.G.P.A=Percentage/9.5; 5.Show the result.
25th Sep 2017, 11:46 AM
P R
P R - avatar
+ 4
This method is incorrect. Dividing by 9.5 will not always yield a correct answer. Similarly, You cannot convert CGPA to percentage by multiplying by 9.5. As 98 and 95 %, both become 10 CGPA, but will never yield a different percentage on reconversion...
25th Sep 2017, 1:00 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 2
As you know percentage of a particular is eqauls to 9.5 times of the cgpa so first find the average of the marks and then calculate percentage then divide it by 9,5 this will be CGPA.
25th Sep 2017, 11:45 AM
Atul Agrawal
+ 1
ok the other answers are not right as they seem to me. a more basic although might not seem that easy if someone low on mathematics. percentage means per 100. CGPA is nearly same with the difference that it is per 10 AS far as I know you won't be able to calculate it still because due to some more calculation tactics they turn out to be always an even digit ending number (although I don't know for sure but never hear 9.5,8.5) But you can still get a basic idea of the range. why other I consider wrong say I got 98% 98/9.5>10 you know that isn't possible.
25th Sep 2017, 12:04 PM
Megatron
Megatron - avatar