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
icon
Related questions
Question

In C not C++ please see the images attached for the question and its requirements

ClassSummary.txt
Honours List:
David Edwards 22469 3.88
Progressing Normally:
Alan Bob 13176 3.65
Chelsea Donald 39528 2.14
Academic Probation:
Brad Chance 11198 1.71
...
For this assignment, along with your source code and sample output, turn in the reports produced:
(1) Monthly Sales.txt
(2) ClassSummary.txt
The contents of the text file YearOnelCT needed is below:
Alan Bob 13176 3.65
Brad Chance 11198 1.71
Chelsea Donald 39528 2.14
David Edwards 22469 3.88
Elenor Franks 44938 3.46
Fred Guess 11246 3.50
Gavin Hil1 79056 1.20
Helen Indar 69360 3.20
Ian James 44888 2.58
Jenny Kahn 34168 1.83
Transcribed Image Text:ClassSummary.txt Honours List: David Edwards 22469 3.88 Progressing Normally: Alan Bob 13176 3.65 Chelsea Donald 39528 2.14 Academic Probation: Brad Chance 11198 1.71 ... For this assignment, along with your source code and sample output, turn in the reports produced: (1) Monthly Sales.txt (2) ClassSummary.txt The contents of the text file YearOnelCT needed is below: Alan Bob 13176 3.65 Brad Chance 11198 1.71 Chelsea Donald 39528 2.14 David Edwards 22469 3.88 Elenor Franks 44938 3.46 Fred Guess 11246 3.50 Gavin Hil1 79056 1.20 Helen Indar 69360 3.20 Ian James 44888 2.58 Jenny Kahn 34168 1.83
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:
Transcribed Image Text: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:
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Time complexity
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole