Write a program that asks the user for a positive integer no greater than 15. The program should then draw a square on an output file using the character ‘X’. The number entered by the user will be the length of each side of the square. For example, if the user enters 5, the program should write the following to the output file:
If the user enters 8, the program should display the following:
Breaking it down
Output
Level Up
Modify the program to ask the user to enter a single character to produce the matrix. For example, if a user would enter a number of 8 and asterisk it would look like: