#34729: 正解


yp11151209@yphs.tp.edu.tw (802-41)

學校 : 臺北市私立延平高級中學
編號 : 224619
來源 : [203.72.178.1]
最後登入時間 :
2023-11-03 16:22:30
d051. 糟糕,我發燒了! -- 板橋高中教學題 | From: [203.72.178.1] | 發表日期 : 2023-04-11 13: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