+ 2
Can smn help me with this question
Get user input using prompt(âEnter your age:â). If user is 18 or older , give feedback:You are old enough to drive but if not 18 give feedback to wait for the years he supposed to wait for. Output Your age is 30 You can have a driving liscense Your age is 15 You have 3 more years
4 RĂ©ponses
+ 3
Kindly show your attempt Firstly.
https://www.sololearn.com/Discuss/1316935/?ref=app
Hope you understand đ
0
Hint:
Use if conditional statement
Share your attempt!
0
You have completed js well enough to do such projects.
Try it your own.
Post the code any problem.
- 1
Help me plzz???
Get user input using prompt(âEnter your age:â). If user is 18 or older , give feedback:You are old enough to drive but if not 18 give feedback to wait for the years he supposed to wait for.
Output
Your age is 30
You can have a driving liscense
Your age is 15
You have 3 more years