Need help with printing

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Post Reply
Vailynx
Newbie
Posts: 1
Joined: Sun Aug 07, 2016 12:09 pm

Need help with printing

Post 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 ^^
Albert
Coder
Posts: 14
Joined: Mon Jul 04, 2016 10:30 am

Re: Need help with printing

Post by Albert »

just PRINT and the result without quotation mark

e.g.:

Code: Select all

INPUT num1
INPUT num2
sum = num1 + num2
PRINT sum
Post Reply