[编程入门]数字的处理与判断-题解(C语言代码) 摘要: 代码分为四个部分,记录位数,输出位数,输出数字和倒叙输出。这里想要强调的是第一部分和第三部分。 一、记录位数: for循环里的i…… 题解列表 2020年03月28日 0 点赞 1 评论 616 浏览 评分:9.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:#include #数字的处理与判断 **使用int的除法也是整数的方法,这里只考虑五位数的情况** int main() { int x; …… 题解列表 2020年03月27日 0 点赞 0 评论 395 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:不大于5位数所以大于100000结束,b,c,d,e,f,分别为个十 百 千 万 位,依次判断是否大于零,最后输出. ```c #include int main() { int a…… 题解列表 2020年03月25日 0 点赞 0 评论 509 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要: #include #include int main() { } ``` int a,b,i,c; int d,t,f,m,n; int r; …… 题解列表 2020年03月24日 0 点赞 0 评论 367 浏览 评分:8.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要: # include # include int score, score_ = 0,i = 0,num,t; double n; scanf_s("%d", &score); …… 题解列表 2020年03月24日 0 点赞 1 评论 1891 浏览 评分:9.9
[编程入门]数字的处理与判断 (Python代码) 摘要:a=input() print(len(a)) for i in a: print(i,end=' ') #end=' ' 输出结果以空格隔开 print() #换行 …… 题解列表 2020年03月22日 0 点赞 0 评论 500 浏览 评分:8.0
[编程入门]数字的处理与判断-题解(Python代码) 摘要:为了利于思考,分为纯代码和解析代码两块。 ```python sum=input() print(len(sum)) sum_list=list(sum) for j in sum_list…… 题解列表 2020年03月19日 0 点赞 3 评论 2407 浏览 评分:9.6
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:#include int main() { int x,m,d,y,z,t=1,cnt=1; scanf("%d",&x); m=x; z=x; …… 题解列表 2020年03月17日 0 点赞 0 评论 381 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ int a[5]; int n,num=0; cin>>n;…… 题解列表 2020年03月13日 0 点赞 0 评论 683 浏览 评分:6.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:```c #include int main() { int i,count=0,x[5]; //count统计位数,x[5]储存数字 for (i=…… 题解列表 2020年03月12日 0 点赞 0 评论 416 浏览 评分:0.0