#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;
}
2024-03-04 20:59:54
#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;
}
下一篇:Feign负载均衡