(Defining Your Own String Methods) Write your own versions of String search methods indexOf and lastIndexOf.   (Creating Three-Letter Strings from a Five-Letter Word) Write an application that reads a...



(Defining Your Own String Methods)

Write your own versions of String search methods



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.”




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here