导读 判断语句里应该是==不是=#include int f1(int num){ int a;a=(num/100)*(num/100)*(num/100);return a;}int f2(int num){ int b;...
判断语句里应该是==不是=#include int f1(int num){ int a;a=(num/100)*(num/100)*(num/100);return a;}int f2(int num){ int b;b=(num%100/10)*(num%100/10)*(num%100/10);return b;}int f3(int num){ int c;c=(num%10)*(num%10)*(num%10);return c;}void main(){int num;int f1(int num);int f2(int num);int f3(int num);printf("水仙花数为");for(num=100;num<=999;num++){if(num==f1(num)+f2(num)+f3(num))printf("%5d",num);};}。