This commit is contained in:
HuangHai
2025-08-30 18:35:01 +08:00
commit 1f397eca87
6258 changed files with 1487241 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#include <iostream>
#include <cstdio>
using namespace std;
int main(){
float f,c; //定义华氏度、摄氏度
cin>>f; //输入华氏度
c=5*(f-32)/9; //计算
printf("c=%.2f",c); //输出,保留两位小数
return 0;
}