0
/ 50
You notice some co-worker's code is both not working and is overly complicated.
The code should act in the following way:
- if value is ...
You notice some co-worker's code is both not working and is overly complicated.
The code should act in the following way:
isOver21
should return trueisPositive
should return falseSimplify the following code:
Hint: think about how many lines of code are really needed to accomplish what needs to be done.
Your feedback will appear here when you check your answer.