Introduction - If you have any usage issues, please Google them yourself
Write the program, input the number n (n < 10), output n layer square pattern. The outermost layer of the square pattern is the first layer, which goes inward in turn. The number and number of layers used for each layer are the same.