c program where the user enters a list of letter (ignoring lower case and upper
ID: 3617722 • Letter: C
Question
c program where the user enters a list ofletter (ignoring lower case and upper case, 'a' is the same as 'A')and
the program returns the number of occurences of that letter.for
example, if the user types in GaaAAbbssaBgggGG the programreturns
a = 5
b = 3
s = 2
g = 6
the
next part of the program we have to sort the letters by themost
frequently occuring to the least frequently occuring. which, inthis
case, would give us:
gabs
for the sorting we have to use the following functiondeclaration:
void sort(int frequency[], char letters[], int left, intright);