Problem 6. Use logical operator to find whether the age of a person lies between 10 and 20.
// const age = prompt("Enter your age: ");let age =prompt("Enter your age: ");// 20
age = Number.parseInt(age);if(age>10&& age<20)
console.log("between");else
console.log("NOPE");// this will print