#include <stdio.h>
int main () {
double price,check;
printf("请输入购买的金额");
scanf("%lf",&price);
printf("请输入支付的票面");
scanf("%lf",&check);
if(check<price){
printf("支付金额不足以购买\n");
}
if(check==price){
printf("欢迎下次光临\n");
}
else{
printf("找给您%lf元\n",check-price);
}
return 0;
}