using System;
using System.Text;
public class Program
{
public static void Main()
int rows = Convert.ToInt32( 8 ); // ENTER INT HERE
var text = new StringBuilder();
for (int i = 0; i < rows; i++) // for each row
for (int j = 0; j < rows - i; j++) // how many spaces to tab in by
text.Append(' ');
}
for (int j = 0; j < i + 1; j++) // how many asterisks to put on this line
text.Append("* ");
text.Append("\n"); // start new line
Console.WriteLine(text.ToString());