Question: Create a class named myString , which consists of one string data member and three functions Input the string from the user at run time
Create a class named myString, which consists of one string data member and three functions Input the string from the user at run time then call the following functions on it
void Count Consonants() //displays the total number of consonants in the string
void VowelCount() //displays the total vowels in the string
void Palindrome() //displays if the string is a palindrome or not
Step by Step Solution
3.41 Rating (164 Votes )
There are 3 Steps involved in it
Solution Code and output include include using namespace std class myString ... View full answer
Get step-by-step solutions from verified subject matter experts
