“ believe the elseif/else if statements only support up to 3 (if, elseif, else). ”
….What?
You might want to review your syntax. 0.0
“I am new in javascript but need it for ne job.”
And yet you don’t know how to google this? Looking up a simple JavaScript tutorial would of helped you. (millions of them on the webz)
This would make me really want to answer with a LMGTFY link.
Why is num coming as -3?