源码简介: |
实验一 超市POS机收银系统一 实验要求• 数据文件:收银员用户信息、商品信息• 完成功能 收银员登录系统,循环进行销售操作 每次销售可以录入多个商品项和数量,最后向控制台输出收银条,包括:商品列表/数量、总金额 • 必须使用面向对象方法实现二 问题的分析本实验要求用面向对象的方法完成,因此应该利用面向对象的方法对本实验要求的内容进行模拟。三 数据结构建立3个类:收银员类、销售单类、商品类。根据要求设计各类的方法和属性。-Experiment a supermarket cash register system POS, an experimental requirements • Data files: cashier user information, commodity information • completion- cashiers log, cycles sales operation- can be entered for each sales item number and quantity of goods, and finally to the control Taiwan export cashier articles, including: the list of goods/quantity, the total amount of • must use the object oriented method, two issues of this study required the completion of object-oriented approach, it should make use of object-oriented method of the contents of the experimental requirements simulation. Three data structures to establish three categories: Class cashier, sales of single-class, commodity. According to design various types of methods and properties.
|