首页 > 题库 > 学历提升 > 自学考试 > 自考本科 > 填空题

有程序段如下:
private void button1_ Click(object sender, EventArgs e)
{
double a=3,b=1,c=2,t,s;
if(a+b>c&&a+c>b&&b+c>a)
{
t=(a+b+c)/2.0;
s= Math.Sqrt(t*(t-a)*(t-b)*(t-c));
textBox1.Text=s.ToString(".##");
}
else
textBox1.Text="No Triangle!";
程序运行后,单击窗口中的button1按钮,在文本框textBox1中显示的内容是_________。


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

相关知识点试题

相关试卷