BASIC Program to Create Multiplication Table

This is a BASIC Program to Create Multiplication Table.

This program uses the FOR NEXT looping statement in BASIC to display the Times table from 1 to 5 in rows and columns.

With more simple programs in BASIC language, you can master the art of programming in languages such as Pascal, C++, Java and many more

Program Code

10    CLS
20    FOR I= 1  TO 5 STEP 1
30     Print using "###"; i;
40    Next i
50     For j= 2 to 10 step 2
60     Print using "###"; j;
70     Next j
80     For k = 3 to 15 step 3
90        Print using "###"; k;
100    Next k
110   For m = 4 to 20 step 4
120      Print using "###"; m;
130    Next m
140     End

You can follow the logic above to create the multiplication table of any size.


                   Pascal Program of Matrix Multiplication
                   BASIC Program to Create Multiplication Table

Do you like this post? Please link back to this article by copying one of the codes below.

URL Of Post:


HTML Link Code:

BB (forum) link code:

Comments