answersLogoWhite

0


Best Answer

-- Think of a name for the sum, like 'S'.

-- Tell qbasic what 'S' is the sum of.

S = 41 + 61 + 2 + 84 + 136

-- If you want to see it on the screen, then

PRINT S

and the sum pops up. It looks like this on the screen:

324

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you add numbers in qbasic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Do you need statement numbers in QBASIC?

Statement numbers were a feature of BASIC, and while QBASIC supports them, they are by no means necessary.


How add 2x2 matrix in qbasic?

8


How do you add odd numbers only in qbasic from 1 to 10?

CLS FOR eachNum%=1 TO 10 STEP 2 PRINT eachNum% NEXT


How to sort the sum of numbers in qbasic?

You use the relevant formula.


To print even nobetween 10 and 100 on qbasic command?

You need a code that can run to print even numbers between 10 and 100 using the qbasic command.


How do you find the product of five numbers in Qbasic?

Most computer languages use the asterisk, "*", for multiplication.


How do you write a Qbasic program to display these Numbers-0112358132134?

you do this 10 print "0112358132134" use the whole of the thing


What extension would a file saved in Qbasic have?

the extensions of qbasic are that, there are only 80 pixels to write in the qbasic


Write the program in qbasic and add two numbers?

Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end


Why are rem statements important in qbasic programming?

qbasic is important because its technology


What is all of the Fibonacci numbers in nature?

Its indefinite: Start with 0,1 add last two numbers = 1 add to sequence = 0,1,1 add last two numbers = 2 add to sequence = 0,1,1,2 add last two numbers = 3 add to sequence = 0,1,1,2,3 add last two numbers = 5 add to sequence = 0,1,1,2,3,5 add last two numbers ......... add to sequence ..........


What is the shortcut key for input statement in QBasic?

There is no shortcut key of input in qbasic