This is a Java coding sample I wrote on request.  It command-line menu-driven app that simulates the sales and inventory of a coffeeshop.  For example, Cafe Mocha appears on the menu only when the ingredients are available in inventory.  As you sell more Cafe Mochas, the ingredient decrement until you can't sell any more.  I used Java Enums extensively to represent the inventory.  There is an HTML file in the root directory which describes the assignment in detail.