i don't declare names[10] because it suppose to be declare during runtime according to the user input.