// 구구단 출력
#include <stdio.h>
int main()
{
int iNum;
for(iNum=0; 80>=iNum; ++iNum)
{
if(iNum<=8)
{
printf("%d*%d=%d\t",(iNum/9)+2,(iNum%9)+1,((iNum/9)+2)*((iNum%9)+1));
printf("%d*%d=%d\t",(iNum/9)+3,(iNum%9)+1,((iNum/9)+3)*((iNum%9)+1));
printf("%d*%d=%d\t",(iNum/9)+4,(iNum%9)+1,((iNum/9)+4)*((iNum%9)+1));
printf("\n");
}
else if(iNum<=17)
{
printf("%d*%d=%d\t",(iNum/9)+4,(iNum%9)+1,((iNum/9)+4)*((iNum%9)+1));
printf("%d*%d=%d\t",(iNum/9)+5,(iNum%9)+1,((iNum/9)+5)*((iNum%9)+1));
printf("%d*%d=%d\t",(iNum/9)+6,(iNum%9)+1,((iNum/9)+6)*((iNum%9)+1));
printf("\n");
}
else if(iNum<=26)
{
printf("%d*%d=%d\t",(iNum/9)+6,(iNum%9)+1,((iNum/9)+6)*((iNum%9)+1));
printf("%d*%d=%d\t",(iNum/9)+7,(iNum%9)+1,((iNum/9)+7)*((iNum%9)+1));
printf("\n");
}
}
return 0;
}