微克等于多少毫克代码

来源:学生作业帮助网 编辑:六六作业网 时间:2024/06/03 07:35:11
微克等于多少毫克代码微克等于多少毫克代码微克等于多少毫克代码#includevoidmain(){\x05floatwk,hk;\x05while(1)\x05{\x05\x05printf("ple

微克等于多少毫克代码
微克等于多少毫克代码

微克等于多少毫克代码
#include
void main()
{
\x05 float wk,hk;
\x05 while(1)
\x05 {
\x05\x05 printf("please input the weight of weike!\n");
\x05\x05 scanf("%f",&wk);
\x05\x05 hk=wk/1000;
\x05\x05 printf("the weight you want is\n");
\x05\x05 printf("%f\n",hk);
\x05\x05 if(wk==0)
\x05\x05 {
\x05\x05\x05 printf("the program is end!\n\n\n");
\x05\x05\x05 printf("welcome back to use this program!\n\n\n");
\x05\x05\x05 break;
\x05\x05 }
\x05 }
}