please help me with this problem... i dont have any idea on how to make the code...
Histogram is a process of representing the frequency of data in a
chart. Write a C++ program that will simulate this process. Your
program should read a string (only letters are allowed) and output
its distinct letters in alphabetical order. Adjacent to the letters
are asterisks (*) that represent the number of times the letter
appeared in the given string.
Sample Input/Output
Enter a string: joshua
Histogram for joshua
a *
h *
j *
o *
s *
u *
another? [y/n] -> y
Enter a string: waka waka fifa
Histogram for waka waka fifa
a *****
f **
i *
k *
w **