QB64 5 (VOTE)
Updated: Dec 3, 2021

This the blank screen when you open the QB64

This the commands you should put in QB64 space. The commands are:
PRINT "enter your name"
gohere:
INPUT n$
PRINT n$; " enter your age"
INPUT age
IF age >= 18 THEN
PRINT n$; " you are allowed to vote"
ELSE
PRINT n$; " you are not allowed to vote"
END IF
INPUT "Do you want to check again (Y/N) ", Y$
IF Y$ = "Y" THEN
GOTO gohere
ELSE
PRINT "BYE "; n$
END IF

Click on run to start the program.

The program is going on...

Then the program came. Then it will ask name and age.<