输出所有的水仙花数。所谓"水仙花数",是指 一个3位数,其各位数字立方和等于该数本身。例如:153是一个"水仙花数",因为153=1^3 +5^3+3^3 。 #include
void main( ) { int x,a,b,c; /******************SPACE*****************/ for(x=100;x<= 【?】;x++) { a=x/100; /******************SPACE*****************/ b= 【?】; c=x%10; /******************SPACE*****************/ if( 【?】) printf("%d\n",x); } }