#include <iostream.h>
// Count the number of each character
int count[128];
void CountChar(char ch[])
{
for (int i = 0; i<128; i++)
{
count[i] = 0;
}
int j;
for (i = 0; ch[i] != '/0'; i++)
{
j=(int)ch[i];
count[j]++;
}
}
void main()
{
char *str = "djfieru930nvd;afj";
CountChar(str);
for(int i=0;i<128;i++)
{
if (count[i] == 0)
continue;
cout<<char(i)<<'/t'<<count[i]<<endl;
}
}