VB编程题。设计一个窗体,输入一个3位整数,将它反向输出。例如输入123,输出为321
Dima(3)AsIntegerDimiAsIntegerFori=1To3a(i)=InputBox("请输入3个数")NextiPrint"请输入3个数是:"Fori...
Dim a(3) As Integer Dim i As Integer For i = 1 To 3 a(i) = InputBox("请输入3个数") Next i Print "请输入3个数是:" For i = 1 To 3 Print a(i); Next i Print Print "倒置后的3个数是:" For i = 3 To 1 Step -1 Print a(i); Next i 请问这样抄进去试卷对? 请问按照这样抄进去试卷对?
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询