解题思路:
注意事项:注意输出有“c=”,这点很多人又都忘记了
参考代码:
#include <stdio.h>
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double f,c;
cin>>f;
c=5*(f-32)/9;
cout<<"c=";
cout<<fixed<<setprecision(2)<<c<<endl;
}
0.0分
0 人评分
妹子杀手的故事 (C语言代码)浏览:1204 |
水仙花 (C语言代码)浏览:1039 |
Tom数 (C语言代码)浏览:552 |
大神老白 (C语言代码)浏览:588 |
C语言程序设计教程(第三版)课后习题8.3 (C语言代码)浏览:523 |
多输入输出练习2 (C语言代码)浏览:1647 |
班级人数 (C语言代码)浏览:919 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:539 |
拆分位数 (C语言代码)浏览:441 |
打印十字图 (C++代码)浏览:942 |