五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

geren

2023-06-27 17:06 作者:宗師魂六  | 我要投稿

71頁(yè)計(jì)算器(重點(diǎn))
計(jì)算按鍵代碼
double x = double.Parse(textBox1.Text);
double y = double.Parse(textBox2.Text);
if (radioButton1.Checked)labe4.Text = Convert.Tostring(x ? y);
if (radioButton1.Checked)labe4.Text = Convert.Tostring(x - y);
if (radioButton1.Checked)labe4.Text = Convert.Tostring(x * y);
if (radioButton1.Checked)labe4.Text = Convert.Tostring(x / y);
if (radioButton1.Checked)labe4.Text = Convert.Tostring(x % y);
退出按鍵代碼
Application.Exit();



97頁(yè)最大值
? ? ? ? ? ?double[] a = new double[5];
? ? ? ? ? ?double min, max;
? ? ? ? ? ?Console.WriteLine("請(qǐng)輸入五個(gè)數(shù):");
? ? ? ? ? ?for (int i = 0; i <= 4; i ?)
? ? ? ? ? ? ? ?a[i] = Convert.ToDouble(Console.ReadLine());
? ? ? ? ? ?min = a[0];
? ? ? ? ? ?max = a[0];
? ? ? ? ? ?for (int i = 1; i <= 4; i ?)
? ? ? ? ? ?{
? ? ? ? ? ? ? ?if (min > a[i])
? ? ? ? ? ? ? ? ? ?min = a[i];
? ? ? ? ? ? ? ?if (max > a[i])
? ? ? ? ? ? ? ? ? ?max = a[i];
? ? ? ? ? ?}
? ? ? ? ? ?Console.Write("數(shù)組中的五個(gè)數(shù)為:");
? ? ? ? ? ?for (int i = 0; i <= 4; i ?)
? ? ? ? ? ? ? ?Console.Write("{0}", a[i]);
? ? ? ? ? ?Console.WriteLine();
? ? ? ? ? ?Console.WriteLine("數(shù)組中的最大值為:{0},最小值為:{1}", max, min);
144頁(yè)相冊(cè)(重點(diǎn))
上一張按鈕
if (btnNext.Enabled == false)
? ?btnNext.Enabled == trur;
pictureBox1.Imge = imageList1.Images[ - - i];
if(i == 0)
? btnPre.Enabled = false;
下一張按鈕
if (btnNext.Enabled == false)
? ?btnNext.Enabled == trur;
pictureBox1.Imge = imageList1.Images[ ? ? i];
if(i == imageList1.ImageList1.Images.Count - 1)
? btnNext.Enabled = false;
210第四題
namespace sttuu
{
? ?class Program
? ?{
? ? ? ?class Student
? ? ? ?{
? ? ? ? ? ?private string name;
? ? ? ? ? ?private char sex;
? ? ? ? ? ?private int age;

? ? ? ? ? ?public string Name ? ? ? ? ? ? ? ? ?//獲取屬性
? ? ? ? ? ?{
? ? ? ? ? ? ? ?get { return name; }
? ? ? ? ? ? ? ?set { name = value; }
? ? ? ? ? ?}
? ? ? ? ? ?public char Sex
? ? ? ? ? ?{
? ? ? ? ? ? ? ?get { return sex; }
? ? ? ? ? ? ? ?set { sex = value; }
? ? ? ? ? ?}
? ? ? ? ? ?public int Age
? ? ? ? ? ?{
? ? ? ? ? ? ? ?get { return age; }
? ? ? ? ? ? ? ?set { age = value; }
? ? ? ? ? ?}

? ? ? ? ? ?public Student(string name,char sex) //構(gòu)造兩個(gè)參數(shù)的方法
? ? ? ? ? ?{
? ? ? ? ? ? ? ?Name = name;
? ? ? ? ? ? ? ?Sex = sex;
? ? ? ? ? ?}
? ? ? ? ? ?public Student(string name, char sex, int age) //構(gòu)造三個(gè)參數(shù)的方法
? ? ? ? ? ?{
? ? ? ? ? ? ? ?Name = name;
? ? ? ? ? ? ? ?Sex = sex;
? ? ? ? ? ? ? ?Age = age;
? ? ? ? ? ?}

? ? ? ? ? ?public void Introduce()
? ? ? ? ? ?{
? ? ? ? ? ? ? ?Console.WriteLine("大家好,我叫" Name "我是一個(gè)" Sex "孩,我今年" Age "歲");
? ? ? ? ? ?}
? ? ? ?}
? ? ? ?static void Main(string[] args)
? ? ? ?{
? ? ? ? ? ?Student s1 = new Student("lily",'女');
? ? ? ? ? ?s1.Introduce();
? ? ? ? ? ?Student s2 = new Student("zhangsan",'男',18);
? ? ? ? ? ?s2.Introduce();

? ? ? ?}
? ?}
}
211第五題
namespace bk
{
? ?class Program
? ?{
? ? ? ?class Book
? ? ? ?{
? ? ? ? ? ?private string title; ? ? ? ?//定義兩個(gè)字段
? ? ? ? ? ?private int pageNum;

? ? ? ? ? ?public string Title
? ? ? ? ? ?{
? ? ? ? ? ? ? ?get { return title; }
? ? ? ? ? ? ? ?set { title = value; }
? ? ? ? ? ?}
? ? ? ? ? ?public int PageNum
? ? ? ? ? ?{
? ? ? ? ? ? ? ?get { return pageNum; }
? ? ? ? ? ? ? ?set { pageNum = value; }
? ? ? ? ? ?}

? ? ? ? ? ?public void Detail()
? ? ? ? ? ?{
? ? ? ? ? ? ? ?Console.WriteLine("書(shū)籍的名稱為" Title "頁(yè)數(shù)為" PageNum);
? ? ? ? ? ?}
? ? ? ?}
? ? ? ?static void Main(string[] args)
? ? ? ?{
? ? ? ? ? ?Book book = new Book();
? ? ? ? ? ?book.Title = "c#";
? ? ? ? ? ?book.PageNum = 500;
? ? ? ? ? ?book.Detail();
? ? ? ?}
? ?}
}


geren的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
改则县| 石嘴山市| 忻州市| 诸暨市| 大英县| 灵川县| 高平市| 密山市| 旺苍县| 龙海市| 丰县| 广南县| 新巴尔虎右旗| 兴城市| 建平县| 祁东县| 琼中| 濉溪县| 鲁甸县| 平山县| 黔东| 鹤山市| 夹江县| 海安县| 惠水县| 丰顺县| 曲靖市| 华宁县| 临颍县| 兴仁县| 白水县| 太保市| 平塘县| 哈尔滨市| 修武县| 陈巴尔虎旗| 永昌县| 瑞安市| 九龙县| 昭通市| 延边|