人民币为什么没有20.。。。 摘要:解题思路: 先把人民币的面值都定义出来,然后看题目是多组输入,所以就要用到while来输入多组 输入一个n表示人数,后面再输入n个人的工资,题目…… 题解列表 2022年02月20日 0 点赞 0 评论 553 浏览 评分:9.9
十->二进制转换 摘要:```cpp #include #include #include typedef struct SNode{ long long data; struct SNode *ne…… 题解列表 2022年02月20日 0 点赞 0 评论 348 浏览 评分:0.0
二级c语言-计负均正(C++ 代码) 摘要:解题思路:1、先定义20大小的数组,两个计数count,分别用来计算正数和负数的个数2、定义sum用来计算正数的和,用ave来计算正数的平均数注意事项:1、计算平均数要记得类型转换2、输出负数个数(c…… 题解列表 2022年02月20日 0 点赞 0 评论 611 浏览 评分:8.0
二级C语言-进制转换 摘要:```cpp #include #include typedef struct SNode{ int data; struct SNode *next; }SNode,*Lin…… 题解列表 2022年02月20日 0 点赞 0 评论 373 浏览 评分:0.0
二级c语言-同因查找(C++ 代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main () { int i; for (i = 10; i < …… 题解列表 2022年02月20日 0 点赞 0 评论 503 浏览 评分:8.0
二级c语言-等差数列(C++ 代码) 摘要:注意事项:变量sum 要初始化参考代码:#include <iostream>using namespace std;int main () { int n, sum = 0; int…… 题解列表 2022年02月20日 0 点赞 0 评论 466 浏览 评分:8.0
二级c语言-求偶数和(C++ 代码) 摘要:解题思路:1、先定义 n2、然后根据n输数组参考代码:#include <iostream>using namespace std;int main () { int i, n, arry[1…… 题解列表 2022年02月20日 0 点赞 0 评论 258 浏览 评分:0.0
二级c语言-分段函数(C++ 代码) 摘要:解题思路:参考代码: #include <iostream>using namespace std;#include <iomanip> //包含fixed和setprecisionint main …… 题解列表 2022年02月20日 0 点赞 0 评论 498 浏览 评分:0.0
二级c语言-温度转换(C++ 代码) 摘要:解题思路: 注意事项: 在做5除于9时要用小数点,不然会返回0.参考代码:#include <iostream>using namespace std;#include <iomanip>int ma…… 题解列表 2022年02月20日 0 点赞 0 评论 569 浏览 评分:0.0
1008: [编程入门]成绩评定 摘要:解题思路:用switch()语句,正好可以用分数/10的整数值作为case。注意事项:需要做异常处理,保证分数在0-100以内。参考代码:#include <iostream> using na…… 题解列表 2022年02月20日 0 点赞 1 评论 625 浏览 评分:8.0