Story: I went in to a shop with the following shopping list:
-
orange
-
apple
-
apple
-
orange
-
tomato
-
cereal
-
bread
-
orange
-
tomato
The prices of the above items are
-
orange = 10p
-
apple = 20p
-
bread = £1.10
-
tomato = 25p
-
cereal = £2.34
Add to the code in lib/shop.rb to print out the cost of the shopping list in pence
Write a till for me to run through the items I have chosen.
produce a receipt
find the cost of an item
remove an item