Sie sind auf Seite 1von 1

using System;

using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication14
{
class Program
{
static void Main(string[] args)
{
for (int i = 1; i <= 10; i++)
{

for (int j = 1; j <= i; j++)


{
Console.Write("{0}",j);
}

Console.WriteLine("");

}
for (int i = 1; i <= 10; i++)
{

for (int j = i; j <= 10; j++)


{
Console.Write("{0}", j);
}

Console.WriteLine("");

}
}
}