#include #include using namespace std; // Step 1: Enum definition enum StoreType { Clothing, Electronics, Grocery, FoodCourt }; // Step 2: Struct definition struct Owner { string name; string contact; int yearsOfExperience; }; // Step 3: Class definition class Store { private: int storeID; string storeName; Owner storeOwner; StoreType type; public: // Default Constructor Store() { storeID = 0; storeName = "Unknown"; storeOwner = {"Unknown", "N/A", 0}; type = Clothing; cout
Posts
Showing posts from June, 2025