Program To Print Multiplication table of 2, 3 and 4

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.

Comments

Post a Comment

If you have any doubt, let me know...

Popular posts from this blog

Unacceptable Individual Drives Twitter

ChatGPT on smartwatches

Program to find greatest number among any three different numbers inputted by User.