int i, j, temp, count = 0;
char input[100];

len = strlen(input[10])
n = input[0];

for (i = n; i < len; i++) {
    for (j = i + 1; j < len-1; j++) {
        if input[i] == input[j]
        {
            count++;
        }
        printf(" ": " ", input[i], count);
    }
}