5.11打卡

#include <bits/stdc++.h>
using namespace std;
double trans(double f)
{
    double c;
    c=5.0/9*(f-32);
    return c;
}
int main()
{
    double F;
    cin>>F;
    cout<<trans(F)<<endl;
    return 0;
}

 

posted @ 2023-05-11 15:29  记得关月亮  阅读(7)  评论(0)    收藏  举报