a) Define a struct called Student that includes an ID number (an integer), units (a double), and GPA (a double).
b) Declare a 30-element array of Student structs called class.
c) Write a C statement that will print the GPA of the Student at index 14 of the class array.
d) Write a function named inputStudent that will enter each field of a Student struct, and then return that struct.
Help writing this in C language?
c
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment