C二级辅导-温度转换 (C语言代码) 摘要:#include "stdafx.h"int main(){ double c, f; scanf("%lf", &f); c = (f - 32)*5.0 / 9.0; printf("%.2lf"…… 题解列表 2018年10月25日 0 点赞 0 评论 434 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b; //有小数输出,直接定义double类型 scanf("%lf"…… 题解列表 2018年09月14日 8 点赞 19 评论 5123 浏览 评分:9.8
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float f,c; scanf("%f",&f); c=(f-32)*(5/9.0)…… 题解列表 2018年08月23日 0 点赞 0 评论 452 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float f,c; scanf("%f",&f); c=5*(f-32)/9; printf("%.2f",c…… 题解列表 2018年08月22日 0 点赞 0 评论 419 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:1.变量的数据类型:根据题意可判断为实型。2.除法运算符:两个整型量相除时,其商也为整型量,若不能整除,将会产生极大的误差,所以因尽量避免两个整数直接相处。3.小数点保留:题目中的…… 题解列表 2018年08月20日 0 点赞 0 评论 488 浏览 评分:0.0
C二级辅导-温度转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>//与注释匹配的头文件using namespace std;int main(int argc,…… 题解列表 2018年08月12日 0 点赞 0 评论 666 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:#include<stdio.h>int main(){ double C,F; scanf("%lf",&F); C=(5.0/9.0)*(F-32); printf("%0…… 题解列表 2018年07月07日 2 点赞 0 评论 991 浏览 评分:8.0
C二级辅导-温度转换 (C语言代码)(๑•̀ㅁ•́ฅ) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ double F; scanf("%lf",&F); printf("%.2l…… 题解列表 2018年06月08日 1 点赞 0 评论 678 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:#include<stdio.h> int main() { double f,c; scanf("%lf",&f); c=5*(f-32)/9; printf("…… 题解列表 2018年05月02日 0 点赞 0 评论 484 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:一定要记住,在float,或者double时,用 / 需要加.0 即:float c= 5/9; wrong; &n 题解列表 2018年04月04日 0 点赞 0 评论 573 浏览 评分:0.0