#P1498. Print a Square Pattern

    ID: 14784 Type: Default 1000ms 256MiB

Print a Square Pattern

Given a positive integer ( n ), output a square pattern with ( n ) rows and ( n ) columns of asterisks ().

For example, if ( n = 4 ), the output should be:

</em>***



****</pre>

inputFormat

The input consists of a single positive integer ( n ).

outputFormat

Output the square pattern according to the given input. Each of the ( n ) lines should contain ( n ) asterisks (*).

sample

3
***

***

</p>