Question: THE student.dat has the same information in the paper (up list-table) so you just please create a file name student.dat and try to help me

 THE student.dat has the same information in the paper (up list-table)

THE student.dat has the same information in the paper (up list-table) so you just please create a file name student.dat and try to help me to solve this question and get the same output in next list (down list-table )

(in C programing language)

Download the random access file from blackboard named "students.dat" containing the folowing information to help you run your program Cradit 1234 767 132 4751 643 731 3.99 1.30 1.70 3.14 1.98 2.60 123 75 English Rialegy Physics Chanietry 84 57 18 Write a program that reads records from a random access file having the members below in the exact order Student name (length 25 characters) ID (type integer) .GPA (type float) Major (length 15 characters) number of credits (type integer) Your program should change the student major to "PROBATION" for each student in the file that has 30 or more credits and a GPA less than 2 and rewrite it back to the file. After all necessary records have been changed, print all student information to the text file "probation.txt", in table form, where the major is replaced with either "YES" or"NO" according to whether the student is on probation or not. You may not use arrays to perform this task. Prepared by: T.A. Rena Alzaid Fall 2017/2018 CS 220: Programming in C and Unis Lab#11 Your final output text file may look as follows: Credits Student 1ID GPA Student Name 123 75 3.98 1.30 1.70 3.14 1.98 2.60 NO YES No NO 1234 8767 9132 Tarek Nabeela 5643 7831 84 57 18 No

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!