public void sellItem(SaleableItem p) { runningTotal += p.getPrice(); p.sellCopy(); }
public void sellItem(SaleableItem pPub, String Pub) { runningTotal = runningTotal + pPub.getPrice(); Console.WriteLine("Sold " + pPub + " @ " + pPub.getPrice() + "\nSubTotal = " + runningTotal); }