团体程序设计天梯赛-练习集 L1-004 计算摄氏温度 (5分)

在这里插入图片描述

#include <iostream>
using namespace std;
int main() 
{
    int f;
    cin >> f;
    int c = 5 * (f - 32) / 9;
    cout << "Celsius = " << c;
    return 0;
}
发布了75 篇原创文章 · 获赞 58 · 访问量 3284

猜你喜欢

转载自blog.csdn.net/qq_44458489/article/details/105000558