美文网首页
2018-11-21作业2

2018-11-21作业2

作者: 南川_3193 | 来源:发表于2018-11-21 15:11 被阅读0次

    using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { for (int x=1;x<=9;x++) { for (int y=1;y<=x ;y++) { Console.Write ("{0}*{1}={2}\t",x ,y ,x*y); if (x == y) { Console.WriteLine(); } } } Console .ReadKey (); } } }

    相关文章

      网友评论

          本文标题:2018-11-21作业2

          本文链接:https://www.haomeiwen.com/subject/aircqqtx.html