Console.Write("Enter Code : ");
int num = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= num; i++)
{
for (int j = 1; j <= i; j++)
{
Console.Write(j);
}
Console.WriteLine();
}
for (int i = 1; i <= num; i++)
{
for (int j = num; j >= i; j--)
{