热门
最新
红包
立Flag
投票
同城
我的
发布
@我叫烂白菜
#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;
}
CSDN App 扫码分享
评论
点赞
打赏
- 复制链接
- 举报
下一条:
有在华为干外包的朋友吗?想请教咨询些问题
