Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program containing a class named CaseConversion. CaseConversion should c

ID: 3535764 • Letter: W

Question

Write a program containing a class named CaseConversion.

CaseConversion should contain 3 methods: ToLowercase, ToUppercase,

and ToPropercase. None of these 3 methods should call any functions

or methods themselves. Each method should accept and return one

string or char array (your choice). In your main(), prompt the user

to enter a string/char array, and call each of your 3 methods in

turn, displaying the results of the method in main().

Do not use toupper(), tolower(), or any other function. Do

the conversions using keywords and operators only.


Explanation / Answer

#include #include #include #include using namespace std; char menu_function(); //function that will run the menu to call the other functions. void sub_function(char, char, char); //function that will be used to substitute charachters. int vowel_function(char[], int); //function that will be used to count the vowels. int main() { char strg_array[80]; char contin = ' '; char choice = ' '; char target = ' '; char new_val = ' '; int array_size = 80; int vowel_sum = 0; do { cout > strg_array; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote