I'm ussing quickbasic 4.5 on windows xp .
Code: Select all
CLS
DIM number AS INTEGER, answer AS INTEGER, yourname AS STRING
INPUT “Now enter a number:”, number
INPUT “Now your name:”, yourname
PRINT “So “; yourname; “ you wanted to know what is”; number; “ times 5?”
answer = number * 5
PRINT “Well, it is:”; answer
END
expected statement and it's on the secound line "yourname AS"
Any help would be great thanks.