fixing project
i have my code for the project and it has one problem only
the problem in the print function
first of all, the following should be a pointer in Customer class:
Product *item;
Now, the Print function, in general, should look something like this:
void Print(Customer *h)
{
while(h)
{
//here you should print all the details of a customer
Product * p = h->item;
while(p)
{
//here you should print a product's details
//move to the next product as below:
p=p->next;
}
//move to the next customer as below:
h=h->next;
}
}
13 years ago
20
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- c_answer.txt
Bids(0)
other Questions(10)
- Answer questions on "Making decisions in a legal context
- Analyze one example of irony in Like the sun and in The open window to do this identify and explain...
- On the fourth day of the invasion, a wooden frame on the lighthouse sags inward. How does the incident increase...
- Beth and Bob Salerno are looking at a home loan of $250,000 and have been quoted 3.75% for a 30...
- Use the correct form of scruples to fit each of the following sentences: Rainsford had ______ when it came to hunting...
- How do enzyme's speed up reaction rates?
- How did the physical geography influence the lives of early humans?
- what is the military and suvillan experience of the ww2
- a pentagon+a triangle= a circle two squares = three pentagons triangle + circle= a square how many triangles equal one cirlce ...
- You are considering purchasing a membership to a store that offers bulk discounts to its members. If you expected to save...