Problems
Write a program that receives a single string of at most 100 characters as input and checks whether the string contains the character 'c' and the substring "ab". Print "Yes" or "No" for each check, as shown in the example output.
Example
abdef
No Yes
Source
자기주도C언어프로그래밍