Question: c program 1) Create a text file studens. Ax, contains information about an unknown number of students in 230 class as follow: Each line contains:

c program
c program 1) Create a text file studens. Ax, contains information about

1) Create a text file studens. Ax, contains information about an unknown number of students in 230 class as follow: Each line contains: student-number, accumulative average so far , total credits taken, average this semester, credits registered this semester. 2) Let the program reads from the file students. t and computes the final accumulative average for each student as follow: Final accumulative average = (( aceumulative average so far * total credits taken ) + (average this semester * credits registered this semester )) ) (total credits taken + credits registered this semester) 3) Write a function calculate that. receives student-mmber, accumulative average so far, total credits taken, average this semester, credits registered this semester and returns the final accumulative average 4) Display on another text file result. xt the result as shown below: 5) The program should display also the number of students who received an honor (Accumulative Average >=85 ) and the number of students whose Accumulative Average c=65

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!