'commit'
This commit is contained in:
11
TangDou/AoSaiYiBenTong/YBT1013.cpp
Normal file
11
TangDou/AoSaiYiBenTong/YBT1013.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
//注意:计算实数是尽量用double类型,免得丢失精度。
|
||||
int main() {
|
||||
double f;
|
||||
cin >> f;
|
||||
printf("%.5lf", 5 * (f - 32) / 9);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user