46.4k views
19 votes
Write the program to print the table of 9 QBASIC​

User Lex B
by
5.6k points

1 Answer

6 votes

Answer:

You would start by multiplying 9 with 1 then with 2 and then with 3 and so on as:

9 x 1 = 9

9 x 2 = 18

9 x 3 = 27

. . . . . . . .

Just put this into QBASIC statements now.

Let us assume you want to display 10 multiples of 9. Then you would want to multiply 9 with 1 and do the same thing upto 10. This is how you do it.

CLS

FOR I = 1 TO 10

PRINT 9 * I

NEXT I

END

User Drew Stephens
by
6.0k points