how can I write a program, using ADT that process a text strings,
ie, ifCode:void push(char ch); // pushes the character ch onto the stack; char pop(); // pops and returns the top character; int isEmpty(); // returns 1 if the stack is empty, 0 otherwise; int reverseSentence(char str[]); // main function;is "ABC D2EF. GHI3J. KLM", then after calling the functionCode:strbecomes "FED CBA. JIHG. MLK". The function should also return 3, indicating that there are 3 sentences.Code:str
Can someone spent a little time to help on my question? thk a lot.



LinkBack URL
About LinkBacks



