@chipsurfer65594,
They are expecting you to assign the outcome character VALUE of
the ternary statement
(fuelLevel > 0)?'Y':'N';
to
the variable canDrive
like
char canDrive = (fuelLevel > 0)?'Y':'N';
@chipsurfer65594,
They are expecting you to assign the outcome character VALUE of
the ternary statement
(fuelLevel > 0)?'Y':'N';
to
the variable canDrive
like
char canDrive = (fuelLevel > 0)?'Y':'N';