I done program for pattern matching. The program is we need to store words in memory like stand, stone, state and Red, road, Ramp. Now if a user gives first character of the word then it should print the words which starts with that letter.
Example :- User enter character S
Then output should be