how to find the number is positive, negative and zero with if else statment Get link Facebook X Pinterest Email Other Apps February 20, 2024 var numb = -1;if (numb ===0){ console.log("zero")}else if(numb > 0){ console.log("positive")}else{ console.log("negative")} Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment