C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:用for循环输入China字符串,再将每一个字符串中的字符+4,最后再for循环输出结果注意事项:每一个参考代码:#include<stdio.h>int main(){ int i…… 题解列表 2018年09月25日 0 点赞 0 评论 473 浏览 评分:0.0
输出字符'A'个数 (C++代码) 摘要:解题思路:注意事项:不要打多于的代码;参考代码:#include<iostream>using namespace std;int main(){ int a,i,n; cin>>n; …… 题解列表 2018年09月25日 3 点赞 0 评论 885 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (Java描述编译出错的看过了) 摘要:解题思路:c转java编译出错的看过了注意事项:class类名必须是Main,否则变易出错!参考代码:public class Main{ public static void main(Str…… 题解列表 2018年09月25日 0 点赞 0 评论 942 浏览 评分:0.0
可恶... 第一c++描述:最小三个数 (C++代码) 摘要:解题思路:注意事项:参考代码: #include<iostream>#include<algorithm>using namespace std;int main(){ int i,n; …… 题解列表 2018年09月25日 4 点赞 0 评论 920 浏览 评分:0.0
三位数反转 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,b,c,n; …… 题解列表 2018年09月25日 5 点赞 0 评论 1530 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:先把整体框架写好,之后把括号里的语句算法补上。注意事项:注意题目中的多组字样,还有符号字母大小写问题。参考代码:无…… 题解列表 2018年09月25日 0 点赞 0 评论 1111 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int x,y;scanf("%d",&x);if(x<1) y=x;else if(1<=x&&x<10) y=…… 题解列表 2018年09月26日 0 点赞 0 评论 729 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:解题思路:用类似于头指针的元素记录开始的位置,用y记录剩余元素的大小。每移动一次头标志就向后移动并且剩余元素减少。若是剩余元素不足宽度m,则直接将剩余的元素求和注意事项:防止数组越界,以及各式问题参考…… 题解列表 2018年09月26日 0 点赞 0 评论 1427 浏览 评分:0.0
可AC。。。。。。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int total(int n){ if(n==1) return 1; else if(n==0) …… 题解列表 2018年09月26日 0 点赞 0 评论 759 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; int sum=1; scanf("%d",&n); for(i=1;i<n;i++) su…… 题解列表 2018年09月26日 0 点赞 0 评论 644 浏览 评分:0.0