+ 2
Why doesn't this work?
This code is seriously bugged. Whenever I try to do what I'm supposed to do, in the end it says NaN. Pls help me. https://code.sololearn.com/WykA2DJR5U5P/?ref=app
2 Answers
+ 4
step 2 should be step1 * 2. And you shuld use step4 in if else statements instead of step5.
+ 1
https://code.sololearn.com/WQsjjt6JeA9p/?ref=app
Should be it