----------------------------------------------------------------------------------------- Welcome to the Break Room! There are two vending machines here: 1. Vending Machine: 100 Kitkat price: $ 3.00 ea credit: $ 0.00 revenue: $ 0.00 2. Vending Machine: 150 Hersheys price: $ 4.50 ea credit: $ 0.00 revenue: $ 0.00 3. Quit Which machine do you want (e.g. 1) ? 1 What do you want to do? 1. Enter a coin 2. Coin return 3. Vend an item 4. Quit Select (e.g. 1) > 1 Insert a coin (e.g. L,T,Q,D,N) > T Your new credit is: $2.00 ----------------------------------------------------------------------------------------- Welcome to the Break Room! There are two vending machines here: 1. Vending Machine: 100 Kitkat price: $ 3.00 ea credit: $ 2.00 revenue: $ 0.00 2. Vending Machine: 150 Hersheys price: $ 4.50 ea credit: $ 0.00 revenue: $ 0.00 3. Quit Which machine do you want (e.g. 1) ? 1 What do you want to do? 1. Enter a coin 2. Coin return 3. Vend an item 4. Quit Select (e.g. 1) > 1 Insert a coin (e.g. L,T,Q,D,N) > 2.00 Sorry, we only accept L-loonies, T-toonies, Q-quarters, D-dimes and N-nickels! Try again! Your new credit is: $2.00 ----------------------------------------------------------------------------------------- Welcome to the Break Room! There are two vending machines here: 1. Vending Machine: 100 Kitkat price: $ 3.00 ea credit: $ 2.00 revenue: $ 0.00 2. Vending Machine: 150 Hersheys price: $ 4.50 ea credit: $ 0.00 revenue: $ 0.00 3. Quit Which machine do you want (e.g. 1) ? 1 What do you want to do? 1. Enter a coin 2. Coin return 3. Vend an item 4. Quit Select (e.g. 1) > 1 Insert a coin (e.g. L,T,Q,D,N) > T Your new credit is: $4.00 ----------------------------------------------------------------------------------------- Welcome to the Break Room! There are two vending machines here: 1. Vending Machine: 100 Kitkat price: $ 3.00 ea credit: $ 4.00 revenue: $ 0.00 2. Vending Machine: 150 Hersheys price: $ 4.50 ea credit: $ 0.00 revenue: $ 0.00 3. Quit Which machine do you want (e.g. 1) ? 1 What do you want to do? 1. Enter a coin 2. Coin return 3. Vend an item 4. Quit Select (e.g. 1) > 3 Here is your product: Kitkat ----------------------------------------------------------------------------------------- Welcome to the Break Room! There are two vending machines here: 1. Vending Machine: 99 Kitkat price: $ 3.00 ea credit: $ 1.00 revenue: $ 3.00 2. Vending Machine: 150 Hersheys price: $ 4.50 ea credit: $ 0.00 revenue: $ 0.00 3. Quit Which machine do you want (e.g. 1) ? 1 What do you want to do? 1. Enter a coin 2. Coin return 3. Vend an item 4. Quit Select (e.g. 1) > 2 Here is your change: $1.00 ----------------------------------------------------------------------------------------- Welcome to the Break Room! There are two vending machines here: 1. Vending Machine: 99 Kitkat price: $ 3.00 ea credit: $ 0.00 revenue: $ 3.00 2. Vending Machine: 150 Hersheys price: $ 4.50 ea credit: $ 0.00 revenue: $ 0.00 3. Quit Which machine do you want (e.g. 1) ? 3 Goodbye!