#include<stdio.h> #include<conio.h> void main() { int i,n; /* i for loop counter, n for given number for which, we have print multiplication table */ clrscr(); printf("\n Enter n\n"); scanf("%d",&n); printf("\n Multiplication table for %d is: \n", n); for(i=1; i<=10; i++) printf("%5d\n",i*n); getch(); }Output:Enter n 8 Multiplication table for 8 is 8 16 24 32 40 48 56 64 72 80