红海
查看原帖
红海
1419307
k115414_楼主2025/1/26 10:42
#include<iostream>
using namespace std;
int main(){
	double k,c,f;
	cin>>k;
	c=k-273.15;
	f=c*1.8+32;
	if(f>212){
		cout<<"Temperature is too high!";
	}
	else{
		cout<<c<<' '<<f;
	}
  	return 0;
}
2025/1/26 10:42
加载中...