A C program to print multiplication table

//A C program to print multiplication table 


#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
int n, i;
printf("Enter an integer: ");
scanf("%d",&n);
for(i=1; i<=10; ++i)
{
printf("%d * %d = %d \n", n, i, n*i);
}
getch();
}

Output:


A C program to print multiplication table, my knowledge to you dude, write A C program to print multiplication table, wap to print multiplication table,multiplication table



Post a Comment

0 Comments