1058: 二级C语言-求偶数和(自我感觉挺详细的) 摘要:解题思路:看题目———偶数和,所以一要判断是不是偶数,二是要将偶数相加;题目还没说具体是几个数相加,需要自己输入几个数的,所以不推荐用数组,因为数组大小是确定的,数组[]里面必须是常量,而我们输入的个…… 题解列表 2021年12月09日 0 点赞 0 评论 408 浏览 评分:0.0
编写题解 1058: 二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[50],s=0; int n; cin>…… 题解列表 2021年12月09日 0 点赞 0 评论 337 浏览 评分:0.0
编写题解 1057: 二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double x,y; cin>>x; if(x<1…… 题解列表 2021年12月09日 0 点赞 0 评论 647 浏览 评分:0.0
编写题解 1056: 二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double a,b; cin>>a; b=(a-3…… 题解列表 2021年12月09日 0 点赞 0 评论 441 浏览 评分:0.0
编写题解 1053: 二级C语言-平均值计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; int s=0,b,n=0; …… 题解列表 2021年12月09日 0 点赞 0 评论 307 浏览 评分:0.0
编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double e; cin>>e; for(int …… 题解列表 2021年12月09日 0 点赞 0 评论 361 浏览 评分:0.0
C++解题思路 摘要:解题思路: 注意事项: 参考代码: #include<cstdio> #include<iostream> using namespace std; int main() { …… 题解列表 2021年12月09日 0 点赞 0 评论 769 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1,str2,…… 题解列表 2021年12月09日 0 点赞 0 评论 382 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; i…… 题解列表 2021年12月09日 0 点赞 0 评论 360 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码://编程入门]自定义函数之字符串反转#include<stdio.h>#include<string.h>int main(){ void exchange(char a…… 题解列表 2021年12月09日 0 点赞 0 评论 302 浏览 评分:0.0