how to print occurence of values in the array from 1 to9?

Printable View