#include<stdio.h>
main()
{
float x,y;
printf("输入一个数:");
scanf("%f",&x);
if(200<x<=500)
{
y=x*0.98;
}
if(500<x<=1200)
{
y=
商品打折计算
最新推荐文章于 2022-09-01 09:09:20 发布
#include<stdio.h>
main()
{
float x,y;
printf("输入一个数:");
scanf("%f",&x);
if(200<x<=500)
{
y=x*0.98;
}
if(500<x<=1200)
{
y=