Question: QUESTION 9: Write a program in Java to take input of a string in lower case from the user with no repeated words and form

QUESTION 9: Write a program in Java to take input of a string in lower case from the user with no repeated words and form two new strings by taking words from the given string alternatively such that the first character of every word and every consecutive repeated character in the words of the new string is in uppercase. SAMPLE INPUT i like programming in Java language OUTPUT First String I ProgramMing Java Second String Like In Languagae
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
