程序设计基础第二次作业1——小卖部,手里有固定现金 200 元。用户输入商品售价,程序计算应该找给顾客多少钱,打印输出找零。 发布时间:2026/10/27 10:16:41 建盈捌捌建站 #includestdio.h#includestdlib.hintmain(){constintMONEYHAVE200;intprice_goods;intmoney_change;scanf(%d,price_goods);money_changeMONEYHAVE-price_goods;printf(找零:%d元\n,money_change);return0;} 商务建站 企业官网 运营推广 返回列表 PREV 查看更多资讯 NEXT 返回资讯列表