(Solved):Write a C++ code that will read student’s names and test scores from a file, and output each student’s name, test score, and relevant letter grade. It will also print out the names of each student… View Answer…

 

Question

Write a C++ code that will read student’s names and test scores from a file, and output each student’s name, test score, and relevant letter grade. It will also print out the names of each student who has that highest score.

The file reads:

Benjamin Grimm 87

Clark Kent 92

Cain Marko 54

Bruce Banner 92

Norin Radd 85

Hal Jordan 76

Billy Batson 90

Carol Danvers 92

Jean Grey 78

Luke Cage 89

Student data should be stored in a struct

Scroll to top