I am having trouble figuring out how to stop from the loop using EOF. I need to use a while loop in main and use EOF to stop it. Can anyone guide me.
This is part of the program I was asked to do:
Code:
cout << "Type EOF if you wish to end\n";
while (counter != 'EOF')
{
read_scores (test1, test2, test3);
grade = calc_grade (test1, test1, test3);
display_grade (grade, test1, test2,
Leave a comment: