c语言编写需要完整的步骤谢谢
太简单了,根本不想写,就是if语句的嵌套,给你个简单的写一下,自己去完善.
float weight,money;
printf("请输出你的快递的重量,单位kg!");
scanf("%f",&weight);
if (weight <= 5)
{
money = )weight*3;
}else if( 5< weight <=10)
{
}else if(...)
{
...
}
...
热门标签:
太简单了,根本不想写,就是if语句的嵌套,给你个简单的写一下,自己去完善.
float weight,money;
printf("请输出你的快递的重量,单位kg!");
scanf("%f",&weight);
if (weight <= 5)
{
money = )weight*3;
}else if( 5< weight <=10)
{
}else if(...)
{
...
}
...