题库 高中信息

题干

阅读如下Visual Basic程序,
Function f(n As Integer, r As Integer) as integer
If n <> 0 Then
f =" n" \ r
End If
End Function
Private Sub Command1_Click()
Print f(10, 8)
End Sub
程序的运行结果是(   )
A.8B.10C.2D.1
上一题 下一题 0.99难度 选择题 更新时间:2017-02-24 09:35:55

答案(点此获取答案解析)