first you need to declare an array of integers that represent the count for each characters -- since there are 26 letters in the English alphabet ('a' - 'z]) you will need an array of 26 integers.
int counters[26] = {0};
The abover declared the array and initialized them all to 0.
Next step, after entering the sentence, increment the counters array for each character in the sentence. Loop through the sentence and increment the array element that corresponds to the character. To get the index value, subtract the letter 'a' from the character. Example: if sentence == 'a', then 'a' - 'a' == 0. You could look up the ascii value for 'a' and use that, but its a lot easier just to use 'a'.
char sentence[80];
for(int i = 0; sentence[i] != 0; i++)
counter[sentence[i]-'a']++;
you should be able to finish the rest of the program yourself.