You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*My change to the task: Instead of counting words, the program counts the number of digits in the standard input (getchar()).
Example histogram for string 714277481936498065930009700274586872967216020942995074:
About
ANSI C: "Exercise 1-13. 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."