Ternary conditional Statements (#9 Java)


I just DON'T understand What to do! I put this:
char canDrive = (fuellevel > 0) ? 'Y' : 'N';

What did I do wrong?


Please post link to the lesson and any error message(s) you are getting. Thank you.




The variable in instructions is fuelLevel. Otherwise I see nothing wrong with the ternary statement.