编写题解 1056: 二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double a,b; cin>>a; b=(a-3…… 题解列表 2021年12月09日 0 点赞 0 评论 389 浏览 评分: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 评论 248 浏览 评分:0.0
编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double e; cin>>e; for(int …… 题解列表 2021年12月09日 0 点赞 0 评论 298 浏览 评分:0.0
C++解题思路 摘要:解题思路: 注意事项: 参考代码: #include<cstdio> #include<iostream> using namespace std; int main() { …… 题解列表 2021年12月09日 0 点赞 0 评论 733 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1,str2,…… 题解列表 2021年12月09日 0 点赞 0 评论 337 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; i…… 题解列表 2021年12月09日 0 点赞 0 评论 308 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码://编程入门]自定义函数之字符串反转#include<stdio.h>#include<string.h>int main(){ void exchange(char a…… 题解列表 2021年12月09日 0 点赞 0 评论 262 浏览 评分:0.0
话费计算哦 摘要:解题思路:先定义n表示分钟数,再定义m为总话费,输入n带入到公式,列出公式,输出m,因为要保留一位小数,所以在%f中间加上.1。注意事项:m要保留一位小数,所以设置为单精度浮点数用float参考代码:…… 题解列表 2021年12月09日 0 点赞 0 评论 872 浏览 评分:9.9
输入输出练习之精度控制1 摘要:解题思路:因为是单精度浮点数,所以定义用float定义,并用%f,因为输出要保留三位小数,所以在输出的时候,在%f中间加上.3代表保留三位小数。注意事项:参考代码:#include<stdio.h>i…… 题解列表 2021年12月09日 0 点赞 0 评论 1462 浏览 评分:9.9
蓝桥杯2021年第十二届省赛真题-杨辉三角形 摘要:解题思路: 参考https://blog.csdn.net/weixin_44091134/article/details/116748883做的注意事项: 参考代码:#include<iostrea…… 题解列表 2021年12月09日 0 点赞 1 评论 3895 浏览 评分:7.2