This the blank screen when you open the QB64
This the commands you should put in QB64 space. The commands are:
INPUT "Please enter your name :", N$
gohere:
PRINT N$; " enter your age"
INPUT age
IF age >= 10 THEN
PRINT N$; "your are allowed to go to singapore"
ELSE
PRINT N$; "your are not allowed to go to singapore"
END IF
INPUT "Do you want to check again (Y/N) ", Y$
IF Y$ = "Y" THEN
GOTO gohere
ELSE
PRINT "BYE "; N$
END IF
Then click on run. where you the START button click on the START.
After clicking on the start. it will show like this. This means it starts working
Then enter your name. After entering the name. it will show like this.
Then enter your age, then it will show you you are allowed to go to Singapore or the age below 10 you are not allowed to go to Singapore.
bye for now
Σχόλια