U E D R , A S I H C RSS

Cpp Study_2002_2/슈퍼마켓

~cpp 
메메뉴
1.  
2. 물 기
3.  목록 보기
4.  기
5. 가게 나가기
남 :
>>

1.   ...
  >>

2. 물 ...

	메뉴
	1. 디 1000
	2. 디 1200
	3.  5000
	 고르 >>
	    >>

3.  목록 보...

	
	1. 디 3개
	2. 디 5개

4.  ...

		
	1. 디 3개
	2. 디 5개
	   >>
	    >>	




1.  (로)
2. 가게대로  

과 같 맨드라 떨까? (동) .

~cpp 
Welcome to the ACME supermarket.

>>> help
 * deposit --  다
 * mymoney -- 남 다
 * buy -- 물 다
 * inventory --  목록다
 * cancel --  다
 * ask -- 물 가격 묻는다
 * menu -- 구매 가능 목록다
 * exit -- 가게를 나다
 각각 명령 내는 help <command>

>>> menu
candy
diskette
mouse

>>> ask candy
1000

>>> deposit 10000
OK

>>> help buy
buy <product> <number> -- <product>를 <number>개 만 구매다

>>> buy candy 3
OK

>>> mymoney
7000

>>> inventory
candy 3

>>> buy mouse 2
OK
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:02
Processing time 0.0081 sec