以下程序可求出所有水仙花数(提示:所谓水仙花数是指一个3位正整数,其各位数字的立方之和等于该正整数。如 407:4*4*4+0*0*0+7*7*7,故407是一个水仙花数)。请填空。 #include
int main(void) { int x,y,z,a[8],m,i=0; printf("The special numbers are(in the arrange of 1000):"); for(__(1)___;___(2)___;m++) { x=m/100; y=___(3)_____; z=m%10; if(m==x*x*x+y*y*y+z*z*z) { ____(4)_____; i++; } for(m=0;m