A university has implemented a new grade system for its students. The new grading system calculates a student's GPA over a semester, and, based on the GPA, the system determines whether a student: (1) will progress to the next semester and will be placed on the Honour's List (GPA > 3.8), (2) will progress normally to the next semester (2.0 ≤ GPA ≤ 3.8), or (3) will not progress to the next semester and will be placed on Academic Probation (GPA < 2.0). The student information - student name, student ID, and GPA- for each of the 10 students in a class is stored in the file YearOneICT.txt in the following format: YearOneICT.txt FirstName1 LastName1 13176 3.65 FirstName2 LastName2 11198 1.71 ... where each line in the file contains the first name, last name, student ID number, and GPA for one student. Your job is to write a C program to read the student information from the file YearOneICT.txt and determine for each student whether they are put on the Honours List, Academic Probation, or progress normally to the next semester. Create a struct data type called student which consists of (1) the student's full name (50 characters), (2) an integer to hold the student's ID number, (3) the student's GPA, and (4) a character to hold their progression status: use H for students who will be placed on the Honour's List, N for students who are progressing normally, and P for students placed on Academic Probation. Using an array of 10 such students, read in each student's data from YearOneICT.txt into this array. Using each student's GPA, determine their progression status (H, N, or P). Create a file called ClassSummary.txt which contains a list of students who will be placed on the Honour's List, a list of students progressing normally, and a list of students who will be placed on Academic Probation, in the following format:
A university has implemented a new grade system for its students. The new grading system calculates a student's GPA over a semester, and, based on the GPA, the system determines whether a student: (1) will progress to the next semester and will be placed on the Honour's List (GPA > 3.8), (2) will progress normally to the next semester (2.0 ≤ GPA ≤ 3.8), or (3) will not progress to the next semester and will be placed on Academic Probation (GPA < 2.0). The student information - student name, student ID, and GPA- for each of the 10 students in a class is stored in the file YearOneICT.txt in the following format: YearOneICT.txt FirstName1 LastName1 13176 3.65 FirstName2 LastName2 11198 1.71 ... where each line in the file contains the first name, last name, student ID number, and GPA for one student. Your job is to write a C program to read the student information from the file YearOneICT.txt and determine for each student whether they are put on the Honours List, Academic Probation, or progress normally to the next semester. Create a struct data type called student which consists of (1) the student's full name (50 characters), (2) an integer to hold the student's ID number, (3) the student's GPA, and (4) a character to hold their progression status: use H for students who will be placed on the Honour's List, N for students who are progressing normally, and P for students placed on Academic Probation. Using an array of 10 such students, read in each student's data from YearOneICT.txt into this array. Using each student's GPA, determine their progression status (H, N, or P). Create a file called ClassSummary.txt which contains a list of students who will be placed on the Honour's List, a list of students progressing normally, and a list of students who will be placed on Academic Probation, in the following format:
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
In C not C++ please see the images attached for the question and its requirements
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 4 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education