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

asked
User Lex B
by
8.5k 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

answered
User Drew Stephens
by
8.3k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.

Categories