Problem Statement
Write a program that reads an integer N and prints a solid square made of asterisks (*) with dimensions N x N.
Example
For N = 3, the output should be:
Requirements
- Use nested loops to generate the pattern.
- Each row should contain exactly
Nasterisks. - There should be exactly
Nrows.