Computers and Technology

Create a charconverter class that performs various operations on strings. it should have the following two public member functions to start with. your instructor may ask you to add additional functions to the class. the uppercase member function accepts a string and returns a copy of it with all lowercase letters converted to uppercase. if a character is already uppercase, or is not a letter, it should be left alone. the properwords member function accepts a string of words separated by spaces and returns a copy of it with the first letter of each word converted to uppercase. write a simple program that uses the class. it should prompt the user to input a string. then it should call the properwords function and display the resulting string. finally, it should call the uppercase function and display this resulting string. the program should loop to allow additional strings to be converted and displayed until the user chooses to quit.

answer
Answers: 1

Similar questions

Do you know the correct answer?
Create a charconverter class that performs various operations on strings. it should have the followi...

Questions in other subjects:

Konu
Mathematics, 08.10.2021 23:30
Konu
Biology, 08.10.2021 23:40
Konu
Biology, 08.10.2021 23:40
Konu
Mathematics, 08.10.2021 23:40