completed the printArray with static size in for-loop