Print an Asterisk Square
Time limit1sMemory limit128 MB
Read an integer N and print an N by N square made of asterisk characters.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Given an integer N, print an N x N square filled with asterisks (*).
Input
The first line contains an integer N. (1 <= N <= 100)
Output
Print exactly N lines. Each line must contain exactly N asterisks (*).