#include <windows.h>
#include<stdio.h>
void gotoxy(int x, int y) {
COORD c;
c.X = x - 1;
c.Y = y - 1;
SetConsoleCursorPosition (GetStdHandle(STD_OUTPUT_HANDLE), c);
}
int main()
{
int x,y;
for(x=1;x<10;++x)
{
for(y=x;y<10;++y)
{
gotoxy(8*(x-1),y);
printf("%d*%d=%d\n",y,x,x*y);
}
}
return 0;
}