#include<stdio.h>

int main()
{
//10以内的加法表
int i = 0;
for (i = 1; i <= 9; i++)//打印行,即为9行
{
//printf("\n");
int j = 1;
for (j = 1; j <= 10-i; j++)
{
printf("%d+%d=%-2d ", i, j, i + j);
}
printf("\n");
}
return 0;
}