cout << "Number of tests: " << numgrades << endl;
cout << "Total: " << total;
average = total/numgrades;
cout << "\nAverage of tests: " << average;
return 0;
}
------
Now I need the if-else statements for if the teacher wants to add a certain comment per particular grade range. Say if the range was from 90-100, the teacher should say something like "You get an A" or if it's something else (80 to 90) it should be "You get a B" and so on.