1Â Show a message asking user's name
2Â Save input in variable name
3Â Show a message asking user's gender
4Â Save input in variable gender
5Â Show a message asking user's year of birth
6Â Save input in variable birth
7Â Set variable age value 2020 - birth
8Â If age > 18
9Â Â Â Â Â Â Show message that user qualified to vote
10 Else
11Â Â Â Â Â Show message that user not qualified to vote
12 Ask if user want to fill the form again
13 If answer is yes go to step 1
14 Exit
Comments
Leave a comment