Hi travelmate81,

Here is just a short solution to your problem.

#include <stdio.h>
#include <ctype.h>

#define SLENGTH 14

int count_occurrence(char word[], char letter);

	int i, count;
	char word[SLENGTH], code;
	printf("Please enter a string: ");
	//read characters and put them into the array
	for(i = 0; i < SLENGTH; i++)
		scanf("%c", &word[i]);
		//turn all the characters in word to lower case
		word[i] = tolower(word[i]);
	//count the occurrence of each letter
	for(code='a';code<='z';code = code+1)
		count = count_occurrence(word, code, SLENGTH);
	    if(count != 0)
			printf("The letter %c appeared %d times\n", code, count);

int count_occurrence(char word[], char letter, int length)
	int i, count = 0;
	for(i = 0; i < length; i++)
		if(word[i] == letter)
	return count;
I hope this helps, you can modify it if you want.