for (int i = 1; i <= 9; i++)
{
for (int y = 1; y <= i; y++)
{
Console.Write("{0}*{1}={2} ", i, y, i * y);
}
Console.WriteLine();
}
Console.ReadKey();
for (int i = 1; i <= 9; i++)
{
for (int y = 1; y <= i; y++)
{
Console.Write("{0}*{1}={2} ", i, y, i * y);
}
Console.WriteLine();
}
Console.ReadKey();