SHARE
TWEET

2.V.12

Serby__ Sep 23rd, 2019 (edited) 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace ConsoleApp1
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.            
  10.             Console.Write("Введите n= ");
  11.             int n = int.Parse(Console.ReadLine());
  12.             for (int i = 1; i <= n; i++)
  13.             {
  14.                 for (int j = i; j >= 1; j--)
  15.                 {
  16.                     Console.Write(j + " ");
  17.                 }
  18.                 Console.WriteLine();
  19.             }
  20.             Console.ReadKey();
  21.         }
  22.     }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top