Practice: Queues

Take out a piece of paper. We’ll be programming on paper.

Design a program that calculates the average time it takes to get an order at Taco Hut. Taco Hut has one order/pick-up window. The time it takes to serve the customer is:

numTacos * (1.5 + (1.0 - 2.0 * Math.random()));
// Create a TacoHut instance.
// Create customers.
// Put the customers in the TacoHut line.
// Have the TacoHut handle the customers.  This returns the average time it took to make their tacos.

Show me your code before you leave