Im using nested loops to write a program that will calculate the average GPA for all 3 classes and then have it display. I dont quite understand the output but I understand everything else. I need help with the output...any hints or suggestions will be greatly appreciated.
#include <iostream>
#include <iomanip>
int main()
{
double StudentGpa, AvgGpa, OverallAvg;
int TotalHoursComp, StudentId;
P.S. Forgot this information....Calculate the GPA for each class and display the class number (1,2,3) and the average GPA after all students are processed.