queues and reqular queues

May 4, 2012 at 10:09pm
Hello:

I have a project with priority queues and reqular queues.
I need to organize products by IDs from min to max using priority queues.

And then using reqular queues I need to put them into 3 categories: (over-stock, under-stock, within limits); so the output should look like this:


I wrote this code, but something is off that I am not sure and my out put looks like:

Last edited on May 6, 2012 at 7:07pm
May 5, 2012 at 2:59am
If you look at the normal output to your output you can see that the numbers are change around to the wrong set of stocks if you look at your code you will find the problem. Its just minor error nothing too major so you are able to fix this problem yourself. I hope I did not say this in a rude way.
Last edited on May 5, 2012 at 3:00am
May 5, 2012 at 7:30pm
I see my code is wrong and so is the output. But still not sure how it set this up correctly.
Can any one give me a hint ? please:-)
May 5, 2012 at 9:44pm
help
May 6, 2012 at 2:28am
help!!!
Topic archived. No new replies allowed.