You use the relevant formula.
-- 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, thenPRINT Sand the sum pops up. It looks like this on the screen:324
CLS FOR eachNum%=1 TO 10 STEP 2 PRINT eachNum% NEXT
divide the two numbers then divide
Difference between QBASIC and GWBASIC?
Statement numbers were a feature of BASIC, and while QBASIC supports them, they are by no means necessary.
You use the relevant formula.
You need a code that can run to print even numbers between 10 and 100 using the qbasic command.
Most computer languages use the asterisk, "*", for multiplication.
You add the numbers. Then you divide by the number of numbers (i.e., if you have three numbers, you divide the sum by 3).You add the numbers. Then you divide by the number of numbers (i.e., if you have three numbers, you divide the sum by 3).You add the numbers. Then you divide by the number of numbers (i.e., if you have three numbers, you divide the sum by 3).You add the numbers. Then you divide by the number of numbers (i.e., if you have three numbers, you divide the sum by 3).
you do this 10 print "0112358132134" use the whole of the thing
the extensions of qbasic are that, there are only 80 pixels to write in the qbasic
You divide by the number of numbers - if you want the mean of three numbers you divide by 3, if you want the mean of a hundred numbers you divide by 100.
qbasic is important because its technology
You add up all the numbers in the sentence then divide by how many numbers there were.
-- 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, thenPRINT Sand the sum pops up. It looks like this on the screen:324
CLS FOR eachNum%=1 TO 10 STEP 2 PRINT eachNum% NEXT