#include
int main(){
printf("九九加法表n");
int x,y;
for(x=1;x<=9;x++){
for(y=1;y<=x;y++){
printf("%d+%d=%d",x,y,x+y);
printf(" ");
}printf(" n");
} printf("九九乘法表n");
{int x,y;
for(x=1;x<=9;x++){
for(y=1;y<=x;y++){
printf("%d*%d=%d",x,y,x*y);
printf(" ");
}printf("n");
}
}
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)