> 数学 >
英语翻译
Dim a,b As Integer
Dim c As Double
If (a>0,and b>0) Then
c=c/a
End If
If (a>1 OR c>1) Then
c=c+1
End If
c=b+c
上面的的白盒测试的逻辑覆盖的例子
输入 a=2 b=1 c=6
a=1 b=2 c=3
分别输出什么
程序语句应该是怎么读的
我要语句的 翻译
还有书上给出的输出答案是 2 1 10 和 1 2 5
Dim a,b As Integer
Dim c As Double
人气:132 ℃ 时间:2020-01-24 06:36:44
解答
Dim a,b As Integer//定义a,b为整型变量;
Dim c As Double//c,为双精度型
If (a>0,and b>0) Then //当a>0且b>0时
c=c/a
End If
If (a>1 OR c>1) Then //当a>1或者c>1时
c=c+1
End If
c=b+c
3,4,5
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版