Question: In C Question 4:[25 p) A sequential Access file inf.txt has some students records, each of which contains Id, Name, Numeric Grade data fickis Id
Question 4:[25 p) A sequential Access file "inf.txt" has some students records, each of which contains Id, Name, Numeric Grade data fickis Id and Numeric Grade will be an integer type. Write a Main Function which will read file-inf.txt" to calculate the Letter Grades and write the student records into a sequential access file outf.txt" Numeric Grades will be converted to Letter Grades as shown bebw. >= 90 AA > 80 BB > 70 CC 569 FF Records written into "outfitt" file will contain Id. Name, Numeric Grade and Letter Grade for each student. File "inftit record will be declared and defined as a C STRUCTURE. (le, use a STRUCTURE variable to read and write file records.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
