How to create array whose six is to be inputted

can i create an array whose dimensions are to be inputted by user