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!

Moderators: Pete, Mods

Vailynx
Newbie
Posts: 1
Joined: Sun Aug 07, 2016 12:09 pm

Need help with printing

Postby Vailynx » Sun Aug 07, 2016 12:12 pm

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

Postby Albert » Sat Aug 27, 2016 7:41 am

just PRINT and the result without quotation mark

e.g.:

Code: Select all

INPUT num1
INPUT num2
sum = num1 + num2
PRINT sum


Return to “QBASIC and QB64 Questions & Answers”

Who is online

Users browsing this forum: No registered users and 4 guests

cron