题解 1009: [编程入门]数字的处理与判断

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

筛选

稍微有点长

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,x1,x2,n=0; int i; scanf("%d",&x); x1=x2=x; while(x……

利用了一下math,

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