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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!