#34681: 超簡單解法(C++)


yp11151172@yphs.tp.edu.tw (807-36)

學校 : 臺北市私立延平高級中學
編號 : 197046
來源 : [203.72.178.1]
最後登入時間 :
2024-01-10 11:41:14
d051. 糟糕,我發燒了! -- 板橋高中教學題 | From: [203.72.178.1] | 發表日期 : 2023-04-07 15:32

#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    double f;
    cin>>f;
    cout<<fixed<<setprecision(3)<<(f-32) *5/9<<endl;
    return 0;
}

 
ZeroJudge Forum