// Write a C Program to display
multiplication table.
#include<conio.h>
#include<stdio.h>
void main()
{
int n,multi;
int i,j;
clrscr();
printf("enter the end:");
scanf("%d",&j);
printf("enter the
number:");
scanf("%d",&n);
for(i=1;i<=j;i++)
{
multi = n * i;
printf("\n %d * %d =
%d",n,i,multi);
}
getch();
}
OUTPUT:
multiplicationtable.c |
No comments:
Post a Comment