Problems
Write a program that receives five words (each up to 100 characters) as input. Then, receive a single character and a single string (up to 100 characters).
Print all words that contain the input character or the input string. If no words match, print "none".
Example
banana
apple
melon
tomato
pear
n
to
banana
melon
tomato
Source
자기주도C언어프로그래밍