Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int number = int.Parse(Console.ReadLine());
- for (int i = 1; i <= number;i++)
- {
- for (int j = 1; j <= i; j++)
- {
- Console.Write($"{i} ");
- }
- Console.WriteLine("");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement