有程序段如下:
private void button1_ Click(object sender, EventAngs e){
int a,b,t;
a = Convert.Tolnt32(textBox1.Text);
b = Convert.ToInt32(textBox2.Text)
while (a%b != 0)
{
t=a% b;
a=b;
b=t;
}
textBox3.Text = Convert.ToString(b);
}
程序运行后,在打开窗口中的文本框textBox1和textBox2中分别输入整数24和40后,单击button1按钮,在文本框textBox3中显示的内容是______。
订单号:
遇到问题请联系在线客服
订单号:
遇到问题请联系在线客服