Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Practice
- {
- class Program1
- {
- static void Main(string[] args)
- {
- int n = 5;
- for (int i = 0; i < 5; ++i)
- {
- for (int j = 0; j < n; ++j)
- {
- Console.Write($"{j} ");
- }
- Console.WriteLine();
- Console.WriteLine();
- n--;
- }
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement