C#的9*9乘法表!

for(int a=1;a<=9;a++)
{
      for(int b=1;b<a;b++)
      {
            Console.WriteLine("{0}*{1}={2}",a,b,a*b);
      }
       Console.WriteLine();
}
想的。没调试,2重循环。
posted @ 2009-08-03 16:55  凡酷软件  阅读(536)  评论(2编辑  收藏  举报