Create a Student struct with string name, int id, and double grade. Write void printStudent(const Student &s) that prints all three fields in a readable format. Create an array of 3 students, initialize with data, loop through and print each using your function.
This practices struct definition, arrays of structs, and const reference parameters. Test output should show each student's info on separate lines. You're building a mini database with structs.
This is how real programs organize data.