Page 1 of 1

Need help with printing

Posted: Sun Aug 07, 2016 12:12 pm
by Vailynx
Hello.

I was wondering if anyone could help me, by explaining how could I print only the result of a certain program I make in QBasic.

Thanks in advance ^^

Re: Need help with printing

Posted: Sat Aug 27, 2016 7:41 am
by Albert
just PRINT and the result without quotation mark

e.g.:

Code: Select all

INPUT num1
INPUT num2
sum = num1 + num2
PRINT sum