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)
//here you should print all the details of a customer
Product * p = h->item;
//here you should print a product’s details
//move to the next product as below:
//move to the next customer as below:


Thanks for installing the Bottom of every post plugin by Corey Salzano. Contact me if you need custom WordPress plugins or website design.