Menu

[Solved]Write Function Counts People Class Gpa Greater G Make Sure Using Pointers Struct Person Ch Q37218901

//Write a function which counts all the people in the class witha gpa greater than g. Make sure using only pointers.
struct person{
char netid[15];
float gpa;
char* major;
int age;
} class[50];

//Assume class[50] is fully initialized.
struct person *p = &class[0];

int countGPA(struct person *p, float g, int sizeofClass)

Expert Answer


Answer to //Write a function which counts all the people in the class with a gpa greater than g. Make sure using only pointers. st… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *