Alright well I have been trying for a while and have had no luck to be able to do this. I removed the unimportant code and left just what is needed. I'm just going to post the two classes because that's pretty much all that is involved in this.
So the problem is with the method getWholesale in the cPRODUCT class. I'm trying to get it to return the value into the cINVENTORY class and make it equal to the variable fWholesaleCost in the addProduct method (this is all where the ? are )
//Removed all the beginning code, end code and unimportant methods
nSerialNum = 0;
ProductDesc = "";
fWholesale = 0;
fRetailcost = 0;
nInStock = 0;
If you guys need any more info, let me know...but I think this is pretty much it (the barebones).
//Again, I removed the beginningcode, end code and other methods that weren't important
nNumProdTypes = 0;
fTotalWhole = 0;
fTotalRetail = 0;
nOverallItems = 0;
fWholesaleCost = ??????????.getWholesale();
Thanks for any help you can give...trying to get this part to work but it just isn't working out for me,