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 Console.Write("*") or Console.Write(" ") or Console.Write("\n"). Write a program that reads from the user a number and prints an isosceles triangle as in the picture below.

Duration: 24:09

Difficulty: Advanced

Downloads: Solution 1 - Solution 2



Photos from this tutorial