编一对已知数组a(),删除数组中某个元素的程序.答:Private Sub Command1_Click()Dim a As Variant a = Array(1, 6, 8, 3, 5, 9, 10, 2, 7, 4)For i = 0 To UBound(a)If a(i) = 10 Then For j = i To UBound(a) - 1 a(j) = a(j + 1)Next j a(j) = a(i)Exit For End If Next i ReDim Preserve a(UBound...
java中怎么在数组中去除某个数字?答:static void main(String[] args) {int a1[]={1,3,4,5,0,0,9,6,0,5,4,7,6,7,0,5};int a2[] = { 1, 0, 5,0,6,0,4, 1, 0 };//测试第一种办法:System.out.println("原数组:");for (int n : a1)System.out.print(n + ",");// 删除元素!a1=volume(a1,...