How can I write a C++ program that lists all students whose CUMMULATIVE SCORE is K or higher?

I see the short answer but this would be after a few chapters in a book or later in your school coursework. No book or class has you write this without building up to this assignment. So tell more about how you arrived at having to do this without the precedind work or chapters.