A name of a file is given on the command line. Read the contents of the file and print out, for all printable ASCII characters (between '!'
and '~'
), how often each character occurred. Also print the number of characters that weren't printable ASCII characters. You will want to use an array of counters.