vb编程用inputbox输入10个数按递增排序。我明天就要考试了,跪求答案啊! 资源ID: dim a(10) as integerdim temp as integerfor i=0 to 9a(i)=inputbox("请输入第" & i & "好桥个数"帆并)nextfor i=0 to 8for j=i+1 to 9if a(i)<态袜迹a(j) thentemp=a(i)a(i)=a(j)a(j)=tempend ifnextnextfor i=0 to 9print a(i) & vbtab ;next ← 上一篇: 下一篇: →