top of page
Search

QB64 1 PROGRAM (SINGAPORE)

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:


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