Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/FizzBuzz/FutureBasic/fizzbuzz.basic
Normal file
14
Task/FizzBuzz/FutureBasic/fizzbuzz.basic
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
include "NSLog.incl"
|
||||
|
||||
long fizz, buzz, i
|
||||
|
||||
for i = 1 to 100
|
||||
fizz = (i mod 3 )
|
||||
buzz = (i mod 5 )
|
||||
if fizz + buzz == 0 then NSLog(@"FizzBuzz") : continue
|
||||
if fizz == 0 then NSLog(@"Fizz") : continue
|
||||
if buzz == 0 then NSLog(@"Buzz") : continue
|
||||
NSLog(@"%ld",i)
|
||||
next i
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue