Question: C++ Consider the following structure: struct student { int id: char name[50]; float cgpa; }list[10]; a) Write a function that finds the maximum cgpa. The
C++
Consider the following structure: struct student { int id: char name[50]; float cgpa; }list[10]; a) Write a function that finds the maximum cgpa. The function should display the student id, name and cgpa of the student holding the maximum 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
