What's up with the conditional operator?
? sign is assigned to the variable if the condition is true: sign is assigned to the variable if the condition is true! in before a boolean valueBoom! The conditional operator assigns values based on conditions. If the condition is true, the value after the ? sign is assigned; if not, the value after the : sign is used.
Yikes! The conditional operator assigns values based on conditions. If the condition is true, the value after the ? sign is assigned; if not, the value after the : sign is used.