Page not loading? Try clicking here.
Placeholder

#608

String 2 - Self Assessment 7 1s - MB

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언어프로그래밍

You must sign in to write code.