Skip to content

Commit ed2568e

Browse files
committed
Added explain.rb'
1 parent 5aca267 commit ed2568e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

explain.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
require_relative 'special_ops'
2+
3+
print "Enter your first integer: "
4+
n1 = gets.chomp.to_i
5+
6+
print "Enter your second integer: "
7+
n2 = gets.chomp.to_i
8+
9+
bitwise_and(n1, n2)
10+
11+
puts ""
12+
13+
bitwise_xor(n1, n2)
14+
15+
puts ""

0 commit comments

Comments
 (0)