Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace TriangleOf55Stars
- {
- class Program
- {
- static void Main(string[] args)
- {
- for (int i = 1; i <= 10; i++) //бр. редове
- {
- for (int j = 0; j < i ; j++)
- {
- Console.Write("*");
- }
- Console.WriteLine();
- }
- }
- }
- }
- /*
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Nums1to20
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("*");
- Console.WriteLine("**");
- Console.WriteLine("***");
- Console.WriteLine("****");
- Console.WriteLine("*****");
- Console.WriteLine("******");
- Console.WriteLine("*******");
- Console.WriteLine("********");
- Console.WriteLine("*********");
- Console.WriteLine("**********");
- }
- }
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment