Help with K&R Book Exercise
Hi! I am learning C with the K&R book.
I have a problem with exercise 1.13 from page 24 it says
"Write a program to print a histogram of the lengths of words in its input. It is easy to draw the histogram with the bars horizontal; a vertical orientation is more challenging"
I 'm not sure if i understand what it wants (my native language is not English)
For example if a i write "Hello to all!" the program should print something like
1 **** (Hello)
2 ** (to)
3 **** (all!)
is this right? if so any hints?
Much thanks,
Cheers!