首页 > 题库 > 学历提升 > 自学考试 > 自考本科 > 案例题

有程序段如下:
private void button1_Click(object sender, EventArgs e) 
{
        int a=-1, b=15, c=0;
        if(++a>=0)
             c = b/2;
        else
             c = b/4; .
        textBox1.Text=c.ToString();
}
程序运行后,单击窗口中的button1按钮,在文本框textBox1中显示的内容是        


参考答案: 查看答案 查看解析 下载APP畅快刷题

相关知识点试题

相关试卷