Question: c programming code Question : File Processing We are given a text file with courses a student has taken. The filename is student ixt. The
Question : File Processing We are given a text file with courses a student has taken. The filename is "student ixt". The file coatains the iadex for courses, like 1, 2, 3, cte, the three ketters foe the course ptefix, Iike BME, EEE, CoE. InE ete., a 3 digit nuaber for the eomrer code, liko 101, 233 ete and the letter mark for the course, in compliance with Medipol's grading system like A++A,A-, B+ ete. A sample line for the file looks like this: 4 BME 101A+ For this Jab assignenent: - Make an array of stack stracture to store all the data in the file by opening the file is read-only made, - Then, ask a user to change the mark for a given course index, say 5. You shocld then go ahead and change the lettes grade of the student in the array of stacks. - Re-uper the file as write-mode and write all the data into the file. 1 - Re-read the data froan the file and print its content on the screen to demonstrate that the modified grade has the modified value. - A sample file is nsociated with this file. Please talas necosoary assumptions if novded
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
