answersLogoWhite

0

How do you add numbers in qbasic?

Updated: 9/23/2023
User Avatar

Wiki User

10y ago

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

10y 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