asd
asdusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Scheda3_7
{
class Program
{
static void Main(string[] args)
{
int h, k;
Console.Write("Inserisci l'altezza: ");
h = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= h; i++)
{
for (int j = 1; j < h - i + 1; j++)
{
Console.Write(" ");
}
for (k = 1; k <= i; k++)
{
Console.Write("*");
Console.Write(" ");
}
Console.WriteLine();
}
Console.ReadLine();
}
}
}