编辑代码

#include <stdio.h>
int main () {
    int price=0;
    printf("请输入商品金额(元):");
    scanf("%d",&price);
    int pay=0;
    printf("请输入支付金额(元):");
    scanf("%d",&pay);
    int change=pay-price;
    printf("应找您%d元\n",change);
}