Question: Hi I need help with my Java assignment, thanks in advance. Write a program that reads in two words (both are Strings and prints the
Hi I need help with my Java assignment, thanks in advance.

Write a program that reads in two words (both are Strings and prints the letters that both Strings contain in lower case (no duplicates but order doesn't matter). Hint: look at the String method indexOf(char) Sample Output Sample Input (2 Strings) Halifax Dartmouth 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
