Hi , this is the first time i ask for help here i have been searching for a good place to ask and i found daniweb i hope i be right of what i am thinking . and to get help from you guys. thank you here is the question . i dont understand what the question want and how to start.
we are giving a file that contians a collection of student names ( type string),id(type int) and score (type float) for an exam in computer coures. each student data is on a separate line. we have to compute the average of these scores and assign grads to each student according to the following
rule:
if student score is within 10points ( above or below ) of the average assign a grade of satisfactory .if student score is more than 10points point above the average , assign a grade of outstanding .if student score is more than 10points f the average ,
assign a grade of unsatisfactory .
use a student struct to store each students data. the struct should have a data member for name, id, score and grade. the output from the program should consist of a labelled
four-coulumn list that shows each student name, id, score and corresponding grade. the output should be saved to a file and displayed on the screen.
we should include some functions
float average(ifstream &, int &);
read exam scores into a student struc
student readstudentdara(ifsetram &);