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
8
Task/Logical-operations/FunL/logical-operations.funl
Normal file
8
Task/Logical-operations/FunL/logical-operations.funl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
def logical( a, b ) = println( """
|
||||
a and b = ${a and b}
|
||||
a or b = ${a or b}
|
||||
not a = ${not a}
|
||||
a xor b = ${a xor b}
|
||||
""" )
|
||||
|
||||
for i <- [false, true], j <- [false, true] do logical( i, j )
|
||||
Loading…
Add table
Add a link
Reference in a new issue