Question: Using c++ In this assignment, you are supposed to process series of input strings and categorize the elements in them using all knowledge and skills

In this assignment, you are supposed to process series of input strings and categorize the elements in them using all knowledge and skills you have learned already. The input strings have several elements (words, phrases and sentences) separated by e.g. "Hi,Nice 2 meet comma u, Nox in Nixon, to go" The elements in strings have four categories: 1. Single word: Like "algorithm' "lab" etc. No digit, no symbol or spaces. 2. Palindrome: A word, phrase or sentence that reads the same backward or forward, e.g. "No x in Nixon 3. Words/phrases/sentences with digits: Like Assignment4", Nice 2 meet u 4. Others: Phrases or sentences with no digit or are not palindrome. Use enumerated types to represent the four categories above, the four categories in enumerated types are: SINGLEWORD, PALINDROME, WITHDIGITS and OTHERS Define a class Strings (note it is not the string in C++) in individual and .cpp files (All variables should be private) l An enumerated type variable indicating the element's category 2. A string content storing the word or phrase 3. String content's size in terms of number of characters (spaces not included) 4. Necessary functions to set or get the variables Your program is supposed to accomplish the following
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
