I am a new student for language C
, I do not have any course related to
C and this question no related to any kind of home work or assignment
I am truing to learning a C language and i went to execute some
problem here and I went the code of this program . If you can help
me do it please other wise think you for every body .
------------------------------------------------------------------------
Write a program which can read a list of names, ids and gpas from a
text file and store it into an array of structures. The text file
might look as follows:
Faisal 991234 3.5
Aref 212334 4.0
Fifi 913542 2.7
Sarim 678235 1.3
Majed 124523 4.0
……………………………………… ……………………………
After the entire file is read, calculate the and print
(i)the maximum of all gpas and the corresponding student name and ID
(ii)the minimum of all gpas and the corresponding student name and ID
(iii)the average of all gpas.
I have to know the solution of this program then I will truing to
solve some kind of these Questions?
, I do not have any course related to
C and this question no related to any kind of home work or assignment
I am truing to learning a C language and i went to execute some
problem here and I went the code of this program . If you can help
me do it please other wise think you for every body .
------------------------------------------------------------------------
Write a program which can read a list of names, ids and gpas from a
text file and store it into an array of structures. The text file
might look as follows:
Faisal 991234 3.5
Aref 212334 4.0
Fifi 913542 2.7
Sarim 678235 1.3
Majed 124523 4.0
……………………………………… ……………………………
After the entire file is read, calculate the and print
(i)the maximum of all gpas and the corresponding student name and ID
(ii)the minimum of all gpas and the corresponding student name and ID
(iii)the average of all gpas.
I have to know the solution of this program then I will truing to
solve some kind of these Questions?
Comment