Update ex9.c

[Edit] prints array of numbers