下面可以正确定义2个整形变量和一个字符型变量的语句是()
A: Dim x%, y As Integer, n As String
B: Dim x As Integer, y, n As String
C: Dim x, y As Integer, n As String
D: Dim x%, y$, n As String
A: Dim x%, y As Integer, n As String
B: Dim x As Integer, y, n As String
C: Dim x, y As Integer, n As String
D: Dim x%, y$, n As String
举一反三
- 下面可以正确定义两个整型变量和—个字符串变量的语句是()。 A: Dim n,m As Integer,s As String B: Dim a%,b$,c As String C: Dim a As Integer,b,c As String D: Dim x%,y As Integer,z As String
- 下面可以正确定义2个整型变量和1个字符串变量的语句是【 】 A: Dim n,m As Integer,s As String B: Dim a%,b$,c As String C: Dim a As Integer,b,c As String D: Dim x%,y As Integer,z As Suing
- 下面可以正确定义两个整型变量和一个字符串变量的语句是______。 A: A) Dim a%.b $,c As String B: B) Dim n,m As Integer,s As String C: C) Dim x As Integer,y%,z $ D: D) Dim a As Integer,b,c As String
- 下面可以正确定义2个整型变量和1个字符串变量的语句是? A: Dim n, m As Interger, s As String B: Dim a%, b $ , c As String C: Dim a As Integer, b, c As String D: Dim x%, y As Integer, z As String
- 在VB中,使用变量前一般应对变量进行定义。以下变量定义语句错误的是()。 A: Dim x As Integer B: Dim x As Integer,y As Single C: Var x,y:Integer D: Dim x As Integer,y As Integer