#include "item.H" ItemInfo::ItemInfo(double p, string c) { price = p; color = c; }; double ItemInfo::getPrice() { return price; } string ItemInfo::getColor() { return color; } void ItemInfo::display() { // Default behavior for item display cout << "The item's price is " << price << endl; cout << "The item's color is " << color << endl; }