desislava_topuzakova

4. Триъгълник от 55 звездички

Nov 13th, 2021
1,340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _04._Triangle_of_55_stars
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             Console.WriteLine("*");
  10.             Console.WriteLine("**");
  11.             Console.WriteLine("***");
  12.             Console.WriteLine("****");
  13.             Console.WriteLine("*****");
  14.             Console.WriteLine("******");
  15.             Console.WriteLine("*******");
  16.             Console.WriteLine("********");
  17.             Console.WriteLine("*********");
  18.             Console.WriteLine("**********");
  19.         }
  20.     }
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment