public static void Main()
Console.WriteLine("Number of rows: ");
int rows = int.Parse(Console.ReadLine());
for (r = 1 ; r <= rows; r++)
for (c = 1; c <=r; c++) {
} Console.WriteLine("\n");
for (r = 1 ; r <= rows; r++)
for (c = 1; c <=r; c++) {
} Console.WriteLine("\n");