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
9
Task/Bitwise-operations/Ring/bitwise-operations.ring
Normal file
9
Task/Bitwise-operations/Ring/bitwise-operations.ring
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
x = 8
|
||||
y = 2
|
||||
|
||||
see "x & y - Binary AND : " + (x & y) + nl
|
||||
see "x | y - Binary OR : " + (x | y) + nl
|
||||
see "x ^ y - Binary XOR : " + (x ^ y) +nl
|
||||
see "~x - Binary Ones Complement : " + (~x) + nl
|
||||
see "x << y - Binary Left Shift : " + (x << y) + nl
|
||||
see "x >> y - Binary Right Shift : " + (x >> y) + nl
|
||||
Loading…
Add table
Add a link
Reference in a new issue