Thursday, February 27, 2014

Program to calculate Multiplication table of Given Integer

#include<stdio.h>
#include<conio.h>
main()
{
int a, i, b;
printf("Enter a Number which you want to make a multiplication table  =  ");
scanf("%d", & a);
for(i=1;i<=10;i++)
{
b=a*i;
printf("\t%d  X  %d =\t%d\n",a, i, b);
}
getch();
}

No comments:

Post a Comment