九九乘法表
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication55 { class Program { static void Main(string[] args) { for (int i = 1; i <= 9; i++) { for (int a = 1; a <= i; a++) Console.Write(a + "X" + i + "=" + a * i + " "); Console.WriteLine(); } Console.ReadLine(); } } }