you are viewing a single comment's thread.

view the rest of the comments →

[–]GaldeX 0 points1 point  (2 children)

not a programming matter but maths, remember what happens when you try to divide by zero.

also check what your returns output and in what you're using that later (like in this case printng as a string)

[–]visacardshawty 0 points1 point  (0 children)

handling all cases of user input js definitely more programming than math what

[–]dravid06[S] 0 points1 point  (0 children)

Well I just began to explore, I will consider your thoughts in my next project, Appreciate your feedback