Training : hole 6 : Squares
Given a number as input, output should be a string made up of a square of asterisks the size of input. For example, input of 4 should result in the following output, a 4 by 4 square with line breaks:
****
* *
* *
****Type your JavaScript solution here:
your best score: 10000
best hole scores
| # | golfer | score |
|---|---|---|
| 1. | bbb | 1 |
| 2. | miry | 1 |
| 3. | cwolves | 1 |
| 4. | wildcard | 1 |
| 5. | scottholdren | 15 |
| 6. | shinster | 82 |
| 7. | toxicsyntax | 91 |
| 8. | Ludi | 91 |
| 9. | antimatter15 | 91 |
| 10. | m00g00 | 91 |