题解 1119: C语言训练-"水仙花数"问题1

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

方法很简单

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; int a,b,c; scanf("%d",&x); a=x/100; b=x/10%10; c=……

水仙花数(直接看代码)

摘要:解题思路:正常写就行了注意事项:参考代码:#includeint main() { int n; scanf("%d",&n); int a,b,c; a=n%10; b=n/1……

水仙花数问题

摘要:解题思路:输入一个数,分别求出个十百位,使用次方函数与原数比较_ueditor_page_break_tag_注意事项:pow函数需要引入<math.h>头文件参考代码:#include<iostre……

1119难不倒我的嘿嘿C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int a,b,c,x;scanf("%d",&x); if (x>=100&……