Make c program in which you create structure called student


Problem

Make a C program in which you create a structure called "student" with the following fields:

a) Iname (last name)
b) GPA

You will read in two separate text files, "studentNames.txt" and "studentGPA. txt", which will respectively have 10 names and 10 GPA grades.

Once you have read in these values, you will save them into a structure array. Then you will utilize the user defined function I have provided,"printInfoO", to print the students names and grades to screen. Then you will create your own user-defined function, called highestGPA, that will identify the student with the highest GPA and print their name and GPA to screen.

I. Create a structure named "student" with two fields: Iname (last name) and gpa. Up to you to choose their data types.

II. Read in 10 values from two separate text files, "studentNames. txt" and

"studentGrades.txt"
*Remember the steps for file input

III. Save the values from the text file into a structure array.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Make c program in which you create structure called student
Reference No:- TGS03354650

Expected delivery within 24 Hours