Question: A QBASIC assignment A teacher maintains a random-access file containing the following information for each student: name, Social Security number, grades on two exams, and
A QBASIC assignment
A teacher maintains a random-access file containing the following information for each student: name, Social Security number, grades on two exams, and final exam grade. Assume the random-accessess file GRADES has been created with string fields of lengths 25 and 11 and three numeric fields, and all the names and Social Security numbers have entered. The numeric fields have been initialized with zeros. Write a menu-driven program to allow the teacher to do the following:
(a) Enter all the grades for a specific exam.
(b) Change a grade of specific student with data entered using INPUT statements.
(c) Print (to the monitor) a list of final grades that can be posted. The list should show the lasfour digits of the Social Security number, the grade of the final exam, and the semester average of the student. The semester average is determined by the formula (exam1+ exam2+2* finalExam)/4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
