Search for a lesson?


C# 324: Drawing Empty Square

Problem 23 - Drawing Empty Square: In this program you are allowed to use in every output statement only one * or one space or one new line. In other words you are only allowed to use Console.Write("*") or Console.Write(" ") or Console.Write("\n"). Write a program that reads from the user a number and prints an empty square as in the picture below.

Duration: 12:34

Difficulty: Advanced

Downloads: Solution



Photos from this tutorial