using System;
public class Program
{
public static void Main()
int no_of_lines = 10;
char design_characte = '*';
int line_counter = 0; // counter for lines
int char_counter = 0; //counter for characters
// Print by lines - Decrement
line_counter = no_of_lines - 1;
while(line_counter >= 0);
// Reset the character counter everytime
char_counter = 0;
// Print by characters, limit is determined by the line number (current state of line_counter)
while (char_counter <= line_counter)
// Print the character
Console.Write(design_characte);
// Update character counter
char_counter = char_counter + 1;
}
// Go to the new line after characters in the current line has been printed
Console.WriteLine();
// Update the line counter
line_counter = line_counter - 1;