Complete the code to assign lateStatus with "yep" if currTime is greater than 60, and "nope" other wise .... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Complete the code to assign lateStatus with "yep" if currTime is greater than 60, and "nope" other wise ....

LateStatus = currTime > 60 ______ "yep" : "nope";

24th Nov 2021, 5:59 PM
Lawal Damilare Victor
Lawal Damilare Victor - avatar
3 Answers
+ 5
The shortest answer is "?" LateStatus = currTime > 60 ? "yep" : "nope"; // Keep learning & happy coding :D
24th Nov 2021, 6:51 PM
SoloProg
SoloProg - avatar
+ 3
the answer ?
24th Nov 2021, 6:39 PM
Paul K Sadler
Paul K Sadler - avatar
24th Nov 2021, 6:28 PM
Simon Sauter
Simon Sauter - avatar