Question: Suppose you have a string like Thisisasentence. Write a function that would separate these words. Moreover, will print whole sentence with spaces.
Suppose you have a string like "Thisisasentence". Write a function that would separate these words. Moreover, will print whole sentence with spaces.
Step by Step Solution
3.33 Rating (141 Votes )
There are 3 Steps involved in it
The pseudocode for your problem is function separatewordssentence words empty list currentword empty ... View full answer
Get step-by-step solutions from verified subject matter experts
