/* 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){} IceCream(char *topping, double price) : topping(topping), price(price){} IceCream(const IceCream &iceCream) : isReady(iceCream.isReady), price(iceCream.price){ int length = 0; while(iceCream.flavor[length] != '\0') length++; flavor = new char[length]; for(int i=0;i