19 lines
289 B
C
19 lines
289 B
C
#ifndef P8_H
|
|
#define P8_H
|
|
|
|
// 8.a
|
|
|
|
typedef struct {
|
|
int id;
|
|
char first_name[16];
|
|
char last_name[16];
|
|
double gpa;
|
|
} Student;
|
|
|
|
void prompt_student_info(Student* out_student);
|
|
void print_student(Student* student);
|
|
double compute_average_gpa(Student* students, int num_students);
|
|
|
|
#endif
|
|
|