vb如何统计一堆数字?
例如文本框1内容为(multiline=true)
12,17,19,22,23,29,30,34,
02,10,15,19,
03,05,17,30,40,42,
13,18,24,36,38,42,20,31,45,
02,05,15,
07,16,18,31,36,41,11,14,39,46,
01,06,
怎样统计次数?象这样.
出现0次 04,08,09,21,25,26,27,28,32,33,35,37,43,44,47,48,49, =17个
出现1次 01,03,06,07,10,11,12,13,14,16,20,22,23,24,29,34,38,39,40,41,45,46, =22个
出现2次 02,05,15,17,18,19,30,31,36,42, =10个.
参考答案:解析
循环遍历
判断