I'm sorry if this question is already asked on other threads but I just can't find my answer. I'm still a newbie at programming so please consider me :)
I need to create an application that lets the user enter a string and display the character that appears most frequently in the string.
1 Use a loop to select each character of the string
2 Inside the above loop, create a loop to compare the current character with each character in the a-z array
3 If a character matches, use the index to increment the current position in the integer array.
4 When the above loops have completed, loop through the integer array to find the highest count for a character
string = HELLLLOO display = L
Any help would be much appreciated :)