View Single Post
Old 03-24-2005, 09:20 AM   #5 (permalink)
JaySun
Registered User
 
Join Date: Mar 2005
Posts: 7
JaySun is on a distinguished road
The teacher is to enter each students name along with 4 scores for each student. Somewhere in the program it should take those 4 scores sum them up and divide by 4. Each number score is evaluated and assigned a letter grade (A = 90-100, B = 80-90, etc)....These letter grades are to be stored in array grades. In the end the program should print each students first and last name and letter grade on the screen. Then this is printed to file "output.txt". There is actualy a menu that the user will be prompted with :
1) Read student's records
2) Compute Greades
3) Display Grades
4) Store Grades
5) Quit
Sorry I have not mentioned this but I was mostly concerned with allocating the needed memory for each array, reading from the file and storing the data into the array. That should be the whole program in a nutshelll above.
JaySun is offline   Reply With Quote