#include<stdio.h>
int main()
{
int x,y,z,w,t;
printf( "Man Women Children\n");
for(x=0;x<=10;x++)
{
w=30-x;
t=50-3*x;
y=t-w;
z=w-y;
printf("%3d%8d%8d\n",x,y,z);
}
return 0;
}
标签:天好,21,19,int,printf,main,Women
来源: https://blog.csdn.net/z196510/article/details/121298413