> 其他 >
将华氏温度F转换为摄氏度C已知华氏温度F转换为摄氏度C的公式:C=(F-32)*5/9,写出VB程序,
要求F值通过名为text1的文本框输入,C值在名为text2的文本框中输出.
人气:457 ℃ 时间:2020-05-16 14:36:04
解答
//这程序要用到函数调用
#include
using namespace std;
double fahrToCelsius(double tempFahrenheit);
int main()
{
cout
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版