mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-26 03:44:55 +00:00
auto commit
This commit is contained in:
+1
-1
@@ -312,7 +312,7 @@ StatisticsDisplay.update:1.0 1.0 1.0
|
||||
|
||||
**1. 问题描述**
|
||||
|
||||
设计不同种类的饮料,并且每种饮料可以动态添加新的材料,比如可以添加牛奶。计算一种饮料的价格。
|
||||
设计不同种类的饮料,饮料可以添加配料,比如可以添加牛奶,并且支持动态添加新配料。每增加一种配料,该饮料的价格就会增加,要求计算一种饮料的价格。
|
||||
|
||||
**2. 模式定义**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user