题解
2026-09-05 15:41:42
发布于:浙江
2阅读
0回复
0点赞
题解:
#include<bits/stdc++.h>
using namespace std;
int main(){
double k=0,c=0,f=0;
cin>>k;
c=k-273.15;
f=c*1.8+32;
if(f>212){
cout<<"Temperature is too high!";
}else{
printf("%.2f",c);
cout<<" ";
printf("%.2f",f);
}
return 0;
}
这里空空如也








有帮助,赞一个