To print the multiplication table we have to use for loop. Inner loop is used here where two varriable are plays vital role i.e. i and j. Symbolic letter "x" and "=" are also being used to give illusion of multiplication.
So, the program begins here
This program takes two varriable i andd j and are multiplied in the inner loop. In a first loop the value of i remains same while the value of j increases by 1. Integer specifier are used. Here new line is printed as the loop of j ended the new line begins.
Output
Here, all the multiplication table is not shown because the output window is small.
Home »
Chapter3 C program
» Program To Print Multiplication table of 2, 3 and 4
nice
ReplyDelete