Learning with Dr. ANTF

Search for a lesson?

C# 332: Drawing Lines

Problem 31 - Drawing Lines: 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 Concole.Write("*") or Concole.Write(" ") or Concole.Write("\n"). Write a program that reads from the user a number and prints a filled square as below:

Duration: 17:15 (AR)

Difficulty: Advanced

Language: العربية

Downloads: Solution


الفيديو بالعربية

Photos from this tutorial:

Drawing Lines Drawing Lines Drawing Lines Drawing Lines Drawing Lines