#include <stdio.h>
#include <stdlib.h>
int main()
{
int x=1,y=1,z=1,a;
for(a=0;x<=9;)
{
for(a=0;y<=9;)
{
for(a=0;z<=9;)
a=xxx+yyy+zzz;
z++;
}
y++;
}
x++;
printf("%d ",a);
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main()
{
int x=1,y=1,z=1,a;
for(a=0;x<=9;)
{
for(a=0;y<=9;)
{
for(a=0;z<=9;)
a=xxx+yyy+zzz;
z++;
}
y++;
}
x++;
printf("%d ",a);
return 0;
}
你这折腾半天折腾啥呢,把xyz三个数的立方和赋值给a,然后呢,就继续循环了,a的值就丢弃了,没有跟任何数去进行判断,也不输出
你到底想没想好自己到底要干什么