Question: c coding programing with flow cahrt For this assignment, we will do the same task of file processing that we have done in the previoius
For this assignment, we will do the same task of file processing that we have done in the previoius week, however, this time we will use binary files. Again, we want to write down the courses a student has taken into a file in text format, The filename shall be the student name, which you can ask from the user. The file should contain the index for courses, like 1,2,3, etc., the three letters for the course prefix, like BME, EEE, CoE, etc., a 3 digit number for the course code, like 101, 233 etc. and the letter mark for the course, in compliance with Medipol's grading system like A+,A,B+ etc. - Develop the C Structs to represent the course info. - Get the data for 5 courses. - Write these as binary data into a file and close the file. - Then, ask the user to change the letter grade of a course. You need to get the course code from the user, find it in the file. - Get the new letter grade from the user and replace it with the new letter. 1 - Update the record in the file. Here, you can use your own method but the creation of a new file is not accepted. - Now open the file again and print all the content to demonstrate that the new letter is reflected. - For all cases, use the structs as the data storage, not the individual variables
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
