Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _02SoftuniCoffeeOrders
- {
- class SoftuniCoffeeOrders
- {
- static void Main(string[] args)
- {
- int n = int.Parse(Console.ReadLine());
- int row = 1 + n;
- int col = 1 + n;
- for (int row = 1; row <= n; row++)
- {
- Console.WriteLine("$");
- for (int col = 1; col < row; col++)
- {
- Console.WriteLine(" $");
- }
- Console.WriteLine();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement