#include <iostream>
using namespace std;
int main()
{
int f;
cin >> f;
int c = 5 * (f - 32) / 9;
cout << "Celsius = " << c;
return 0;
}
团体程序设计天梯赛-练习集 L1-004 计算摄氏温度 (5分)
最新推荐文章于 2021-03-24 00:35:00 发布
#include <iostream>
using namespace std;
int main()
{
int f;
cin >> f;
int c = 5 * (f - 32) / 9;
cout << "Celsius = " << c;
return 0;
}