indexOf and lastIndexOf.
(Creating Three-Letter Strings from a Five-Letter Word)Write an application that reads a
five-letter word from the user and produces every possible three-letter string that can be derived from the letters of that word. For example, the three-letter words produced from the word “bathe” include “ate,” “bat,” “bet,” “tab,” “hat,” “the” and “tea.”
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here