0
852views
Write a program to display the multiplication table of a user entered number
1 Answer
0
27views
#include<stdio.h>
#include<conio.h>
void main()
{
int i,n;
clrscr();
printf("Enter a number: ");
scanf("%d",&n);
for(i=1;i<=10;i++)
{
    printf("%d X %d = %d\n",n,i,(n*i));
}
Please log in to add an answer.