Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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