pull/285/head
parent
9efcc8c4bf
commit
260582c7dd
@ -0,0 +1,8 @@
|
|||||||
|
let age = prompt("Enter age: ")
|
||||||
|
if(age > 18)
|
||||||
|
{
|
||||||
|
console.log("You are old enough to drive")
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
console.log(18 - age + " more years until you can drive")
|
||||||
|
}
|
Loading…
Reference in new issue