Learning with Dr. ANTF

Search for a lesson?

C# 331: Drawing Isosceles Triangle

Problem 30 - Drawing Isosceles Triangle: 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: 24:09 (AR)

Difficulty: Advanced

Language: العربية

Downloads: Solution 1 - Solution 2


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

Photos from this tutorial:

Drawing Isosceles Triangle Drawing Isosceles Triangle Drawing Isosceles Triangle Drawing Isosceles Triangle