Computer Science, asked by shreemayighosh, 5 months ago

:
str
:
:
:
:
Design a class Change to perform string related operations. The details of the class are given below:
Class name
: Change
Data members/instance variables
stores the word.
newstr stores the changed word.
len
stores the length of the word.
Member functions/methods :
Change() default constructor.
void inputword() : to accept a word.
char caseconvert(char ch) converts the case of the character and returns it.
void recchange(int) extracts characters using Recursive technique and changes
its case using caseconvert() and forms a new word.
void display(: displays both the words.
(a) Specify the class Change giving the details of the constructor and functions void inputword().
char caseconvert(char ch), void recchange(int) and void display(). Define a main() function to
create an object and call the functions accordingly to enable the above change in the given word.
(b) Differentiate between an infinite and a finite recursion.
[ISC 2010]
:
:​

Answers

Answered by abhaytamta98
1

Answer:

the question is very long

Similar questions