{ "type": "code_options", "author": "csdn.net", "source": "solution.md", "exercise_id": "ec24de171a30438d807712d827454a63", "keywords": "数学运算", "title": "商品优惠计算器", "desc": [ { "content": "\n
商品优惠计算器\n使用if语句编程实现输入购货金额,输出实际付款金额。购货折扣率如下:\n购货金额≤500元 不打折\n500元<购货金额≤1000元 9折\n1000元<购货金额 8折
", "language": "markdown" } ], "answer": [ { "content": "", "language": "cpp" } ], "prepared": [ [ { "content": "", "language": "cpp" } ], [ { "content": "", "language": "cpp" } ], [ { "content": "", "language": "cpp" } ] ], "template": { "content": "#include