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

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

筛选

数字的处理与判断

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,c=0,d=0; i……

数组储存各数字单元

摘要:解题思路:先求出输入数字的位数,然后用数组储存每一位数字,最后输出数组。注意事项:参考代码:#include<stdio.h>int main(){    int n,a,count=0;    in……

1009,好懂的方法

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

简单易懂的写法

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

数字的处理与判断

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

数字的处理与判断

摘要:#include<stdio.h> #include<string.h>  //strlen()包含其中 #define MAX 6  //方便修改取值上限 int main() { ……

C语言初学者一个小时写出来的。

摘要:解题思路:初学者用简单方法把三个问题挨个解决注意事项:有点费时间参考代码:#include <stdio.h>int weishu(int x);   //自定义函数,位数,用于解决第一个问题,形参x……

数字的处理与判断

摘要:#include<stdio.h> #include<math.h>//调用函数 int main() { int n,i,count=0; int a,c,d; int b,f……

普通方法(初学者方法)

摘要:# MarkDown编辑器基本使用说明 **如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。** ## 实时预览、全屏显示 ![……