@我叫烂白菜#include<iostream> using namespace std;int change(int F);int main(){ int t; cout << "请输入一个华氏温度:"; cin >> t; int temperatuer =change(t); cout << "其对应摄氏温度为:" << temperatuer << endl; return 0;}int change(int F){ int C ; C = 5*(F - 32)/9; return C;}