Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. The output of the program is every word in the list that contains the character at least once. Assume at least one word in the list will contain the given character. Assume that the list of words will always contain fewer than 20 words.
Following is given the code as required. All the description for code is given inside the code as comments. The output of code is also attached at end. I hope it will help you!