Need help with understanding this little bit of code

In the example of a ternary statement, the course has this:

int pointsScored = 21;

char gameResult = (pointsScored > 20) ? ‘W’ : ‘L’;

What does the question mark do/mean? (pointsScored > 20) ? ‘W’ : ‘L’

Oh nevermind, I’ve figured it out! Thanks to everyone who was going to try and help me!

I was wondering if you got this if you could help me this figuring this one out… I am having a hard time finishing this code