write a program using a class with the following specifications
class name :caseconvert
data members : string str
members functions -
void getstr() : to accept a string
Without getting the code of what you have done, we can't get the solution for you.
But as you mentioned the class name caseconvert, I thought you want to convert a string into lower or upper case.
If you want the same, you should follow the following code to case convert of string :