Write count_char(s, ch) that returns how many times the character ch appears in s.
count_char('banana', 'a')
→ 3count_char('mississippi', 's')
→ 4Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.