0
/ 1.0
Below is some code your co-worker implemented, but they're asking you for help because it's not working the way they want it to.
The code...
Below is some code your co-worker implemented, but they're asking you for help because it's not working the way they want it to.
The code should act in the following way:
value is greater than zero but less than 10, getNumberBack should return 1value is less than zero, getNumberBack should return 2getNumberBack should return 3Re-write the code below such that the logic is correct. Think about how you might explain what went wrong to your co-worker.
Your feedback will appear here when you check your answer.