Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/FizzBuzz/Microsoft-Small-Basic/fizzbuzz.basic
Normal file
14
Task/FizzBuzz/Microsoft-Small-Basic/fizzbuzz.basic
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
For n = 1 To 100
|
||||
op = ""
|
||||
If Math.Remainder(n, 3) = 0 Then
|
||||
op = "Fizz"
|
||||
EndIf
|
||||
IF Math.Remainder(n, 5) = 0 Then
|
||||
op = text.Append(op, "Buzz")
|
||||
EndIf
|
||||
If op = "" Then
|
||||
TextWindow.WriteLine(n)
|
||||
Else
|
||||
TextWindow.WriteLine(op)
|
||||
EndIf
|
||||
EndFor
|
||||
Loading…
Add table
Add a link
Reference in a new issue