X280: Recursion Programming Exercise: Count Characters

For function countChr write the missing part of the recursive call. This function should return the number of times that the letter "A" appears in string "str".

Examples:

countChr("ctcowcAt") -> 1

Your Answer:

Reset

Feedback

Your feedback will appear here when you check your answer.