Easy
Count a Letter
Read a line of text and then a single character. Print how many times the character appears.
Input
Two lines.
Output
A count.
Sample 1
Input
banana a
Output
3
Sample 2
Input
hello z
Output
0
Output appears hereTwo lines.
A count.
banana a
3
hello z
0
Output appears here