SAI YEWALE

Generation

typingsSat, 12 Nov 2022

write a code for aurthonage in html and javascript with database connectivity

var age = prompt("What is your age?"); if (Number(age) < 18) { alert("Sorry, you are too yound to drive this car. Powering off"); } else if (Number(age) > 18) { alert("Powering On. Enjoy the ride!"); } else if (Number(age) === 18) { alert("Congratulations on your first year of driving. Enjoy the ride!"); }

Questions about programming?Chat with your personal AI assistant