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:
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 19PE
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
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole