/* Rafay Ahmad 23I-2526 */ #include using namespace std; class IceCream{ char *flavor; char *topping; char *servingType; bool isReady; double price; public: IceCream(){} IceCream(char *flavor, char *topping, char *servingType, double price) : flavor(flavor), topping(topping), servingType(servingType), price(price), isReady(false){ int length = 0; while(flavor[length] != '\0') length++; this->flavor = new char[length]; for(int i=0;iflavor[i] = flavor[i]; flavor[length] = '\0'; length = 0; while(iceCream.topping[length] != '\0') length++; for(int i=0;i