微克等于多少毫克代码
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/11 18:36:42
微克等于多少毫克代码
#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 }
}
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 }
}