var age = prompt("enter your age") if (age>= 60){ console.log("you are older") } else if (age >=18){ console.log("you are adult") } else if (age < 18){ console.log("you are child") }