In this article we will print the table of any given number. first of all we will take input a number from the user and using for loop we will print the table.

Program to print table in C Language using For Loop

In the following program firt of all we have declared a variable x in which we will take a number from the user. i variable will be used in for loop.

//print table using for loop
void main()
    int x,i;
    printf("Enter value ");

   for(i=1; i<=10; i++)

		Figure 1
		Table output
		Figure 2