22 Answers
New AnswerWrite a program (in any language that you like) that gets two words from user, and tells whether the words have the same letters and numbers of each letter. Comparison is not case-sensitive. Example : "apple" and "papel" both have one 'a', one 'e', one 'l' and two 'p', thus satisfying the given requirements. "teen" and "NEET" also satisfies. "sololearn" and "sololern" do not satisfy, bacause "sololearn" has one 'a' while "sololern" has no 'a'. "appeal" and "apparel" also does not satisfy.
8/21/2017 10:26:22 PM
Jaydee Lucero22 Answers
New Answerhere you go in PHP https://code.sololearn.com/w3tlVO0YRSvu/#php just edit the two words at the beginning of the code. enjoy :) p.s. here there is c++ version https://code.sololearn.com/cgij8qZOXAkf/#cpp
this code copares words strings sentences anything...... input 2 strings seperated by enter https://code.sololearn.com/cvBqbY6JFsEA/?ref=app
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message