+ 1

And the program should display'you can vote ' but if less than 18 the program should display 'you can't vote '

31st Jan 2017, 6:23 PM
sally
sally - avatar
2 Antworten
+ 5
For others to better help you...any way you can combine this question with the first part? https://www.sololearn.com/Discuss/197110/?ref=app
31st Jan 2017, 7:07 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
input name input DoB age is todays date - DoB if age >= 18, print you can vote else print you can't vote
31st Jan 2017, 7:48 PM
Jafca
Jafca - avatar