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