Whats with the question mark ? and colon :


#1

char gameResult = (canDrive > 0) ? 'Y' : 'N'


#2

(canDrive > 0) ?

Translate that to "Is canDrive > 0?"

'Y' : 'N'

'Y' if it is or 'N' if it is not