Question: java please Write a program that reads in two words both are Strings and prints the letters that both Strings contain in lower casino duplicates
Write a program that reads in two words both are Strings and prints the letters that both Strings contain in lower casino duplicates but order doesn't matter. Hint: look at the String method indexOf char! Sample input 12 Strings) Halifax Dartmouth Sample Output Truro Toronto Happy dancing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
