/******************************************************** * showValues * * This function displays the member data stored in the * * InventoryItem object passed to it by value. * ********************************************************/ void showValues(InventoryItem item) { cout << fixed << showpoint << setprecision(2) << endl;; cout << "Part Number : " << item.getPartNum() << endl; cout << "Description : " << item.getDescription() << endl; cout << "Units On Hand: " << item.getOnHand() << endl; cout << "Price : $" << item.getPrice() << endl; }