Question: Hello, I need the code in C++ for the problem given below. A requirement is to NOT use global variables, so please refrain from doing
Hello, I need the code in C++ for the problem given below. A requirement is to NOT use global variables, so please refrain from doing so.

Define a structure Student with a first name, last name, and course grade (A, B, C, D, or F). Write a program that reads input in which each line has the first and last name and course grade, separated by spaces. Upon reading the input, your program should print all students with grade A, then all students with grade B, and so on P7.8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
