Question: Write C++ slogan class. Create a slogan with no character, Slogan (char *) create a slogan with the text passed as parameter(length must be <60),
Write C++ slogan class. Create a slogan with no character, Slogan (char *) create a slogan with the text passed as parameter(length must be <60), ~slogan(), void SetText(char *) set slogan text to the text passed as parameter (length must be <60), void GetText(char *) returns the slogan text by copying the text into the parameter, int GetLength() return the number of characters in the slogan text.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
