Question: Consider the following structure: struct student { int id; char name[50] float cgpa; }list[10]; a) Write a function that finds the average cgpa. The function
![Consider the following structure: struct student { int id; char name[50]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f634f6013e9_44566f634f59f859.jpg)
Consider the following structure: struct student { int id; char name[50] float cgpa; }list[10]; a) Write a function that finds the average cgpa. The function should display the student ids, names and cgpas of the students holding the cgpa less than the average cgpa. b) Write a function to display all the student names with their cgpa
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
