一个正整数从高位到低位上的数字依次递增,则称其为升序数(如1369、2779是升序数,而2547不是升序数),编写VB代码如下: Dim i As Integer, s As String, flag As Boolean
s = Text1.Text
flag = True: ⑴
Do While i <= Len(s) And flag = True
If ⑵ Then flag = False
i = i + 1
Loop
If ⑶ Then
Label2.Caption = s + "满足条件!"
Else
Label2.Caption = s + "不满足条件!"
End If
填空处的代码由以下三部分组成:
①flag = True ②i=2
③Mid(s, i, 1) < Mid(s, i - 1, 1) ④i=1 ⑤flag = False
代码顺序正确的选项是( )