Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
14
Task/100-doors/FutureBasic/100-doors.futurebasic
Normal file
14
Task/100-doors/FutureBasic/100-doors.futurebasic
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
include "ConsoleWindow"
|
||||
|
||||
dim as short door, square : square = 1
|
||||
dim as short increment : increment = 3
|
||||
|
||||
for door = 1 to 100
|
||||
if (door == square)
|
||||
print "Door"; door; " is open."
|
||||
square += increment
|
||||
increment += 2
|
||||
else
|
||||
print "Door"; door; " is closed."
|
||||
end if
|
||||
next
|
||||
Loading…
Add table
Add a link
Reference in a new issue