标题:windows应用程序编写99乘法表显示不出来???
取消只看楼主
陈布衣
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2010-9-16
结帖率:0
已结贴  问题点数:20 回复次数:0 
windows应用程序编写99乘法表显示不出来???

using System;
using System.Collections.Generic;
using
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace 九九乘法表
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.textBox1.Visible = true;
            
            for (int i = 1; i <= 9; i++)
            {
                for (int j = 1; j <= 9; j++)
                {
                    if (i >= j)
                    {
                        Console.WriteLine(j + "*" + i + "=" + i * j);
                    }
                }
            }

        }
    }
}
搜索更多相关主题的帖子: 编写 应用程序 windows 乘法表 
2010-09-16 17:59



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-320611-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.123331 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved