#1941: I will give you the answer but one chicken cover(雞包)


1753980-3@g.puiching.edu.mo (P5A31蒲雋浠)

School : No School
ID : 2571
IP address : [192.168.120.33]
Last Login :
2025-03-20 12:13:05
a016. 糟糕,我發燒了! | From: [192.168.120.33] | Post Date : 2025-04-14 21:11

#include <iostream>

#include <iomanip>

using namespace std;

 

int main() {

    int a;

    double b; 

    cin >> a;

    b = 5.0 / 9 * (a - 32); 

 

    cout << setiosflags(ios::fixed) << setprecision(3);

    cout << b;

 

    return 0; 

}

 
ZeroJudge Forum