C Programming Tutorial

 
 
 
 

Image

#include <stdio.h>
#include <conio.h>
void main(){
     int i,j,num;
     clrscr();
     printf(\"\\n*****MULTIPLICATION TABLE*****\\n\\n\");
     printf(\"Enter table number upto which u want to generate : \");
     scanf(\"%d\",&num);
     for(i=1;i<=num;i++){
    printf(\"Table of \" , i , \" :->  \");
    for(j=1;j<=10;j++){
        printf(\"%1d\",(i*j));
        if(j != 10)
        {
        printf(\" , \");
        }
    }
    printf(\"\\n\\n\");
     }
getch();
}

 
 
Didn't find what you were looking for? Find more on Program to display multiplication table