Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/Loops-Break/VBScript/loops-break.vb
Normal file
17
Task/Loops-Break/VBScript/loops-break.vb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Dim a, b, i
|
||||
|
||||
Do
|
||||
a = Int(Rnd * 20)
|
||||
WScript.StdOut.Write a
|
||||
If a = 10 Then Exit Do
|
||||
b = Int(Rnd * 20)
|
||||
WScript.Echo vbNullString, b
|
||||
Loop
|
||||
|
||||
For i = 1 To 100000
|
||||
a = Int(Rnd * 20)
|
||||
WScript.StdOut.Write a
|
||||
If a = 10 Then Exit For
|
||||
b = Int(Rnd * 20)
|
||||
WScript.Echo vbNullString, b
|
||||
Next
|
||||
Loading…
Add table
Add a link
Reference in a new issue