#include<stdio.h>
int main()
{
float p,price;
printf("Input payment p:");
scanf("%f",&p);
price=p*0.92;
printf("price = %.1f\n",price);
return 0;
}
#include<stdio.h>
int main()
{
float p,price;
printf("Input payment p:");
scanf("%f",&p);
price=p*0.92;
printf("price = %.1f\n",price);
return 0;
}
本文标题:网购物品打折
本文链接:https://www.haomeiwen.com/subject/adafuxtx.html
网友评论