#include using namespace std; int main() { double sheshi=0.0; double huashi=0.0; cout<<"摄氏温度到华氏温度转换程序1-50度转换"<for (sheshi==0.0;sheshi<=50.0;sheshi++){ cout<<"摄氏温度:"<";huashi=sheshi*9.0/5+32.0; cout<<"华氏温度是:"<} system("pause");return 0; }
//运行结果如下图: