135,740 views
2 votes
2 votes
Write the program to print the table of 9 QBASIC​

User Escaped
by
2.4k points

1 Answer

19 votes
19 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 Mloureiro
by
2.6k points