文件名称:shouhuoji
介绍说明--下载内容均来自于网络,请自行研究使用
自动售货机源代码1. 自动售货机能销售三种商品:热狗1元、汉堡包2元、双层汉堡3元。设数量无限。
2. 自动售货机允许投入1元、2元、5元硬币。当总币值等于顾客需要的商品单价时,机器送出需要的商品,若大于时,机器除提供所需商品外,并将余币退出;若小于,则退出顾客投入的硬币,设计其内1元和2元的找零硬币无限。
-vending machine a source code. Vending machines sell three commodities : 1 yuan hot dogs, hamburgers two yuan, double Hamburg 3 yuan. Based unlimited. 2. Vending machines allow the input one yuan, 2 million five yuan coins. When the total value equal to the needs of customers when the price of goods, machinery out of goods than if, in addition to providing the necessary machinery goods, I will withdraw from the currency; If less than, has withdrawn from the customer input coins, its design within one yuan and 2 million have sought unlimited coins.
2. 自动售货机允许投入1元、2元、5元硬币。当总币值等于顾客需要的商品单价时,机器送出需要的商品,若大于时,机器除提供所需商品外,并将余币退出;若小于,则退出顾客投入的硬币,设计其内1元和2元的找零硬币无限。
-vending machine a source code. Vending machines sell three commodities : 1 yuan hot dogs, hamburgers two yuan, double Hamburg 3 yuan. Based unlimited. 2. Vending machines allow the input one yuan, 2 million five yuan coins. When the total value equal to the needs of customers when the price of goods, machinery out of goods than if, in addition to providing the necessary machinery goods, I will withdraw from the currency; If less than, has withdrawn from the customer input coins, its design within one yuan and 2 million have sought unlimited coins.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shouhuoji.doc