![]() |
#2
不再2007-10-03 00:18
|
这个程序的执行过程..本人挺菜,新学这个.谢谢.
下面两个程序有什么差别啊在运行时?
#include"stdio.h"
main()
{float m,c;
printf("please enter a number\n");
scanf("m=%f",&m);
c=(5.0/9.0)*(m-32);
printf("摄氏温度是 %.2f\n",c);
}
和下面这个:
#include"stdio.h"
main()
{float m,c;
c=(5.0/9.0)*(m-32);
printf("please enter a number\n");
scanf("m=%f",&m);
printf("摄氏温度是 %.2f\n",c);
}
谢谢....