作业帮 > 综合 > 作业

For a = 0 To ListBox1.Items.Count -

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/11 00:44:45
For a = 0 To ListBox1.Items.Count -
Dim i As Integer Dim x As Integer For i = 0 To ListBox1.Items.Count - x = x + CInt(ListBox1.Next MessageBox.Show((x /ListBox1.Items.Count.帮忙解释下这几句话的意思
For i = 0 To ListBox1.Items.Count - 1 ------- 遍历ListBox中所有元素 x = x + CInt(ListBox1.Items(i)) -- 用X的值加上listbox中指定元素的值(cinT类型转化函数) MessageBox.Show((x /ListBox1.Items.Count.ToString)) == 弹出个消息 看了这解释,感到非常的xx ,哥们你是在学编程吗?