Hello Devs,

In this tutorial, we are going to learn C program for printing multiplication table.

Here is a well-commented example you can understand and analyze.

#include <stdio.h>
int main(){
  int r,i,j,k;
  printf("Enter the number range: ");
  scanf("%d",&r);
  for(i=1;i<=r;i++){
      for(j=1;j<=10;j++)
           printf("%d*%d=%d ",i,j,i*j);
      printf("\n");
  }
  return 0;
}


I hope this example helps you.