Hi! Task; Create a class of student grades and create 3 arrays (above mentioned arrays). Ask user to input the grade scores for the 5 objects, and then print the objects scores and grades (converted score to letter grade) in all 5 subjects!
I chose to make 4 arrays to also include the object names, here is the current code but I'm getting the error invalid use of non static data member Student::score, Student::grade...etc.. from this location.
What am I doing wrong?
Haha, ups... was trying to store the cin input in the studentName array. Im obviously way off and this should be pretty simple, but my bran is completely fried currently. :/
Your studentName array appears to be an array of five strings, inside a Student object.
Are you expecting every student to have five names? If not, you need to go back to the start and think about what you're trying to do and why you have this Student class.