Program To Generate Multiplication Table

Hello friends, in this example, you will learn how to generate multiplication table of any number in C programming language using following topics:
Multiplication table


Output:

Enter no to find table: 4
4*1=4 
4*2=8 
4*3=12 
4*4=16 
4*5=20 
4*6=24 
4*7=28 
4*8=32 
4*9=36 
4*10=40

Explaination Of Program:

  • First input number from user to find multiplication table, Store it in variable 'n'
  • Use for statement to print number from one to ten, and store it in variable 'i'.
  • Print the value of n and i using n*i formula.

Post a comment

0 Comments