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
Reset

Practice a different Java exercise