呜呜呜。就差一个测试点有没有大佬来指点一下
#include<iostream> using namespace std; int main(){ double k,c=0,f=0; cin>>k; c=k-273.15; f=c*1.8+32; if(k>=212){ cout<<"Temperature is too high!"<<endl; }else{ printf("%.2lf",c); printf(" "); printf("%.2lf",f); } return 0; }