如何编写此简单C++程序,顺带帮忙解释一下每一步的意义
CompletethefollowingC++program.TheprogramshouldcomputeandoutputtheCelsiusvaluecorresp...
Complete the following C++ program. The program should compute and output the Celsius value corresponding to the given Fahrenheit value.
The formula for the conversion is as follows:
celsius = (fahrenheit - 32) * (5 / 9)
use the following code for output:
cout << celsius << endl; 展开
The formula for the conversion is as follows:
celsius = (fahrenheit - 32) * (5 / 9)
use the following code for output:
cout << celsius << endl; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询