02-03-2003, 07:03 AM
Hello,
I am an old user of QBasic and have not used it in about 5 years and have recently started some basic programming again. I was wondering if some one could help me figure out a problem that I am having with the following code.
CLS
INPUT "ENTER VALUE"; VALUE
PRINT
PRINT "ANSWER"; ANSWER
ANSWER = VALUE * 6
When I run this very simple code the answer that I recieve is always 0. Can anyone tell me what I am doing wrong? I know this will be simple for all of you, but remeber it has been about 5 years for me. :rotfl:
I am an old user of QBasic and have not used it in about 5 years and have recently started some basic programming again. I was wondering if some one could help me figure out a problem that I am having with the following code.
CLS
INPUT "ENTER VALUE"; VALUE
PRINT "ANSWER"; ANSWER
ANSWER = VALUE * 6
When I run this very simple code the answer that I recieve is always 0. Can anyone tell me what I am doing wrong? I know this will be simple for all of you, but remeber it has been about 5 years for me. :rotfl: