Program to check if the number is positive if else
// Program to check if the number is positive
let a = 1
if(a < 0){
console.log(` ${a} is negative`)
}
else if (a >= 0){
console.log('this is positive no')
}
else{
console.log("no this number is not found")
}
Comments
Post a Comment