Complete the code to assign lateStatus with "yep" if currTime is greater than 60, and "nope" other wise .... | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
+ 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