Page not loading? Try clicking here.
Placeholder

#9125

문자열2 - 연습문제7 1s - MB

Problems

문자열 배열을 {"champion", "tel", "pencil", "jungol", "olympiad", "class", "information", "lesson", "book", "lion"}와 같이 초기화 하고

문자 1개를 입력받아서 문자를 포함하고 있는 단어를 출력한 후, 

다시 문자열 1개를 입력 받아 문자열을 포함하고 있는 단어를 찾아 출력하는 프로그램을 작성하시오. 

만약 없으면 “찾는 단어가 없습니다.”라고 출력하시오.  


Example

문자를 입력하세요. i
champion
pencil
olympiad
information
lion

문자열을 입력하세요. pi
champion
olympiad

Source

자기주도C언어프로그래밍

You must sign in to write code.