Google Answers Logo
View Question
 
Q: program to implement queue using fifo( description given below) in C ( No Answer,   0 Comments )
Question  
Subject: program to implement queue using fifo( description given below) in C
Category: Computers > Programming
Asked by: frozenice-ga
List Price: $5.00
Posted: 21 Feb 2003 15:23 PST
Expires: 23 Mar 2003 15:23 PST
Question ID: 165396
Write a program in C to monitor  the flow of an item into and out of a
warehouse. The warehouse will have numerous deliveries and shipments
for the item  (a widget) during the time peroid covered. A shipment
out is billed at a profit of 50 percent over the cost of a widget.
Unfortunately, each shipment received may have a different cost 
associated with it. The accountants for the firm have instituted a
first-in, first-out system for filling orders. This  means that the
oldest widgets are the first ones sent out to fill an order. This
method of inventory can be represented using a queue. Each data record
will consist of
S or O: shipment received or an order to be sent
#:         Quanitity received or shipped out
Cost:    Cost er widget (only for a shipment received)
Vendor: Character string that names company snt to  or received from
(up to 20 characters)
            Write the necessary functions to store the shipments
received and to  process orders. The output for an order will consist
of the quantity and the total cost for all the widgets in the order.
(Hint: Each widget  price is 50 percent higher than its cost. The
widgets used to fill an order may come from multiple shipments with
different costs.)
also,
Write address and contents of each link to an output file. Get the
name of the output file at runtime as an argument to main.

Request for Question Clarification by pinkfreud-ga on 21 Feb 2003 16:46 PST
In view of the amount of labor that is going to be involved here, I
suggest that you consider offering a more appropriate fee.

The Google Answers pricing guidelines may help you to reprice your
question:

http://answers.google.com/answers/pricing.html

Clarification of Question by frozenice-ga on 21 Feb 2003 17:54 PST
hi ! i have incresed the price to $5.00. The reason is price this much
is coz its easier for an avg programmer to do this.

Clarification of Question by frozenice-ga on 21 Feb 2003 19:33 PST
also,  i am a student. How much more can u expect a student to pay for
this assignment....
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy