C Programming
Computer Programming

Program in c to Generate Multiplication Table



Write a Program in c to Generate Multiplication Table

\* C Program to to Generate Multiplication Table *\

# include < stdio.h >
int   main( )
{

int   num, i, tab  ;
printf(" Enter the Number : ") ;
scanf("%d ", & num) ;
i = 1 ;
printf("\n Multiplicaiton Table : ") ;
while (   i   <=   10
{

tab = num * i ;
printf("\n %d ", tab) ;
i = i + 1 ;

}
return ( 0 ) ;

}

Output of Program :

Output of Program in C to Generate Multiplication Table