#include <stdio.h>
#include <conio.h>
void main()
{
char s[80];
char count[256];
int i;
printf("Please enter string :\n");
gets(s);
for (i=0;i<256;i++)
count[i]=0;
for (i=0;s[i];i++)
count[s[i]]++;
for (i=33;i<256;i++)
if (count[i]>0)
printf ("%c = %d\n",i,count[i]);
getch();
}