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
7
Task/Bitwise-operations/Nim/bitwise-operations.nim
Normal file
7
Task/Bitwise-operations/Nim/bitwise-operations.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
proc bitwise(a, b) =
|
||||
echo "a and b: " , a and b
|
||||
echo "a or b: ", a or b
|
||||
echo "a xor b: ", a xor b
|
||||
echo "not a: ", not a
|
||||
echo "a << b: ", a shl b
|
||||
echo "a >> b: ", a shr b
|
||||
Loading…
Add table
Add a link
Reference in a new issue