Advertisement
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 Lesenka
- {
- class Program
- {
- static string eblan(int n)
- {
- string a = "";
- for (int i = 0; i < n; i++) a += " ";
- return a;
- }
- static void Main(string[] args)
- {
- int a = 0;
- do
- {
- a++;
- Console.Write(eblan(20-a) + a.ToString());
- Console.WriteLine();
- }
- while (a <20);
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement