0分!!!求助。
查看原帖
0分!!!求助。
1762033
wangzi2025楼主2025/6/15 14:46
#include<bits/stdc++.h>
using namespace std;
	double k,c,f;
int main(){
	cin>>k>>c>>f;
	c=k-273.15;
	f=c*1.8+32;
	if(k>300) cout<<"Temperature is too high!";
	else printf("%.21f %.21f",c,f);
	return 0;
}

2025/6/15 14:46
加载中...