#include
usingnamespacestd;
voidmain()
{
doublef,c;
coutf;
c=(f-32.0)*5.0/9.0;
cout
编写函数floatconvert(floattempfer),参数和返回值都是float类型,实现c=(f-32)*5/9。在main()函数中实现输入、输出
#includeusingnamespacestd;floatconvert(floattempfer){floattempcen;tempcen=(tempfer-32.0)*5.0/9.0;returntempcen;}voidmain(){doublef,c;coutf;c=convert(f);cout