C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> main() { double a,b; scanf("%lf",&a); b=(5*(a-32))/9; printf(…… 题解列表 2017年08月04日 0 点赞 0 评论 2918 浏览 评分:9.9
二级C语言-温度转换-题解(C++代码)(一看就懂,哈哈哈) 摘要:原题链接:[温度转换](https://www.dotcpp.com/oj/problem1056.html "温度转换") 解题思路: 1.首先定义两个浮点数C,F。(字母可以是任意的,…… 题解列表 2020年04月06日 0 点赞 0 评论 2109 浏览 评分:9.9
二级C语言-温度转换-题解(C++代码) 摘要:解题思路:用scanf,printf;注意事项:5*(f-32)/9一定要这样写!!!!!!!!!!!!!参考代码:#include <bits/stdc++.h>using namespace st…… 题解列表 2020年08月12日 0 点赞 2 评论 1978 浏览 评分:9.9
二级C语言-温度转换-题解(Java代码) 摘要:解题思路: 数学的公式的代入注意事项: 九分之五乘以(f-32)可以看成(f-32*5/9)参考代码: import java.util.Scanner; public class Main …… 题解列表 2021年01月26日 0 点赞 0 评论 713 浏览 评分:9.9
1056: 二级C语言-温度转换 摘要:解题思路:一模一样的题目传送门:https://blog.dotcpp.com/a/84233最近比较忙,没时间刷题,写点不要脑子的水一哈。注意事项:好像发表情不会显示……好落后的平台啊参考代码:#i…… 题解列表 2022年03月23日 0 点赞 0 评论 805 浏览 评分:9.9
温度转换(自定义函数) 摘要:解题思路:先定义一个转换并输出的函数,再在主函数中调用它就好了。注意事项:1.保留两位小数。 2.9分之5怎么转换成除法。参考代码:#include<bits/stdc…… 题解列表 2022年05月28日 0 点赞 0 评论 625 浏览 评分:9.9
温度转换,两行 摘要:解题思路:。。。。。。。。。。。。。。。。。注意事项:。。。。。。。。。。。。。。。参考代码:f=int(input()) print('{:.2f}'.format(5/9*(f-…… 题解列表 2022年08月05日 0 点赞 0 评论 435 浏览 评分:9.9
温度转换(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ float c,F; c…… 题解列表 2022年10月23日 0 点赞 0 评论 388 浏览 评分:9.9
1056: 二级C语言-温度转换 摘要:```cpp #include #include using namespace std; int main() { double f; cin>>f; cou…… 题解列表 2023年01月31日 0 点赞 1 评论 777 浏览 评分:9.9