题目 编写一个函数把华氏温度转换为摄氏温度,转换公式为:C = (F - 32) * 5/9 AC的C++代码如下: #include<iostream> using namespace std; double Celsius(int f){ return 1.0*(f-32)*5/9; } int main() { double f; cout<<"Please enter the fahrenheit\n"; cin>>f; cout<<"The centigrade temperature is\n"<<Celsius(f); return 0; }