#include "stdio.h"
void main()
{
int x,y,z;
for(x=1;x<=9;x++)
{
for(y=1;y<=x;y++)
{
z=x*y;
printf("%d*%d=%d ",y,x,z);
}
printf("\n");
}
}
转载于:https://blog.51cto.com/yangle4695/1697923
#include "stdio.h"
void main()
{
int x,y,z;
for(x=1;x<=9;x++)
{
for(y=1;y<=x;y++)
{
z=x*y;
printf("%d*%d=%d ",y,x,z);
}
printf("\n");
}
}
转载于:https://blog.51cto.com/yangle4695/1697923