Q. WAP to display multiplication table from 1 to 10.

#include<stdio.h>
#include<conio.h>
void main()
{
    int i, j;
    clrscr();
    printf("\n\t\tTable From 1 to 10");
    for(i=1; i<=10; i++)
    {
        for(j=1; j<=10; j++)
        {
            gotoxy(6*i, j+2);
            printf("%d\n",i*j);
        }
    }
    getch();
}