Write a C++ program that will calculate the average of each student, as well as the class average.
In a Loop, either a While, or Do/While you will input three test scores for each student. Output the student’s average, and then start with the next student.
I need help with this?? I only figured out how to do it with a FOR loop...
Create the code that produces the following output.
cout << "How many students are there?"
cin >> numstudents;
for (int testscore= 1; testscore<=numstudents; i++)
{
cout << "Enter test score: " << endl;
cin >> testscore;
}
i don't remember very well because i erased it (which wasn't wise) but it was something like that (and it worked very well, but I need to use a do/while loop as apart of the assignment)