m7amd1989
07-20-2008, 05:26 PM
write programme that
read the names of N students and their grades first(1st) ,second(2nd0and final exams.assume we
have a maximum of 50 students in the class and maximumstudents name is 20 characters.then do the following:
1; Write a function that computes the average of all students and store them in an array called average.
2; write a function that takes the arrayaverage as parameter and return the number of students who have passed the class(have average>=60).
3;write a function to print the nmes and the average of all students who have passed the class.
4; write a function to return a pointer to the student with the highest grade.
5;write main to call the functions.
read the names of N students and their grades first(1st) ,second(2nd0and final exams.assume we
have a maximum of 50 students in the class and maximumstudents name is 20 characters.then do the following:
1; Write a function that computes the average of all students and store them in an array called average.
2; write a function that takes the arrayaverage as parameter and return the number of students who have passed the class(have average>=60).
3;write a function to print the nmes and the average of all students who have passed the class.
4; write a function to return a pointer to the student with the highest grade.
5;write main to call the functions.



