0分求助
查看原帖
0分求助
1416870
meisu111111楼主2025/7/29 10:16
#include<bits/stdc++.h>
using namespace std;
int main(){
	double k,c,f;
	cin>>k;
	if(k>212){
		cout<<"Temperature is too high!";
		return 0;
	}else{	
		c=k-273.15;
		f=c*1.8+32;	
	}
	cout<<c<<f;
	return 0;
}
2025/7/29 10:16
加载中...