I am trying to write a function that returns the index of the character.
For example, I want to fetch the 'a' index the fifth time it appears in the text.
This is my code:
int buscaChar (String text, char c, int n) {
int index=0;
int co...
asked by
16.02.2018 / 18:19