On Sat, 05 Mar 2005 11:43:28 -0500, aba wrote:
I'm trying to write a c application that calculates the average time it
takes for someone in line at an ice cream stand to get an ice cream
cone. But, I don't really know where to start. Does anyone have any
source code for queues I could look at?
THX
This is not exactly a full problem specification. It sounds like average
time is one of the outputs of your program. Are there any others? What are
the inputs? Why even mention the queue?
Also, if this is a homework problem, it might help if you posted the full
problem specification, and some information about the class.
People here won't do your homework for you, but some will try nudge
you in the right direction. To do this, though, they need to know what the
full problem is, and what kind of class you are taking. (For example, if
you are in the first month of your first C class, the solution might be
different than if you are in a more advanced C class.)
Here is some advice, for what it is worth: never try to fool anyone
here when you are asking for help on homework. People will deliberately
give you bogus or joke solutions and they may mock you or flame you as
well.
Best regards,
Mac