查看完整版本: 簡單奇數偶數計算
頁: [1]

nightquiet813 發表於 2015-8-28 06:10 PM

簡單奇數偶數計算

本帖最後由 nightquiet813 於 2015-8-28 06:14 PM 編輯

使用畫面:




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

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            while (true)
            {
                try
                {
                long m = 0;
                long n = 0;
                long t = 0;
                m = long.Parse(textBox1.Text);
                n = long.Parse(textBox2.Text);

                if (!(n >...<div class='locked'><em>瀏覽完整內容,請先 <a href='member.php?mod=register'>註冊</a> 或 <a href='javascript:;' onclick="lsSubmit()">登入會員</a></em></div><div></div>
頁: [1]