Question: Problem Description For this project you will construct a program that will search a list for words that match a specified pattern. For example, given
Problem Description
For this project you will construct a program that will search a list for words that match a specified pattern. For example, given the following list of words:
amble
apple
box
echoes
fox
school
tumble
and the pattern:
cho
the program will find and print out:
echoes school
Note that the only words in the list of seven words above that match the pattern cho are echoes and school. These two words match the pattern because the pattern specifies a six letter word that has the letters c h and o as the second, third, and fourth letters. In the pattern, an underscore specifies any single letter.
c h o
e c h o e s
s c h o o l
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
