Write a program that takes two words as input and finds any common letters that they have. For example, the words ‘computer’ and ‘program’ have the letters ‘o’, ‘m’, ‘p’, and ‘r’ in common. The input to the program will be a string which contains two words consisting solely of lowercase alphabetic characters and separated by a single space. Output the words with all common letters capitalized.
Input two words: COMPUTER program
Output : cOMPuteR PROgRaM
please send me the codes using String.. guys i need your help..
here is my email add.:
[email]<<Email Snipped>> [/email]