文件名称:1000710326
-
所属分类:
- 标签属性:
- 上传时间:2013-01-01
-
文件大小:1.63kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
3.编写一个程序模拟自动售货机。可以通过向售货机中投入硬币来购买商品。用户从售货机商品列表选择某一商品并投入硬币。如果金额足够,则提供相应商品;如果金额不够,或者该商品已售完,则将硬币退回。维护售货机的工作人员可以为其添加商品或者取走售货款项。利用CRC卡片设计类和类中的方法,同时给出UML图并实现该程序-3. Write a program to simulate the vending machine. Can pass to the vending machine into the COINS to buy goods. The user from the vending machine commodity list choose a commodity and put in a coin. If the amount is enough, then to provide corresponding commodities If the amount is not enough, or the goods have already been sold out, will return COINS. The vending machine maintenance staff to add commodities or take away sales amount. Using CRC card design classes and class of methods, at the same time given UML diagrams and implement the program
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1000710326.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.