This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
1.We have to select a word like: "hello"
2.convert this string into binary form.like "hello" binary form will be 10011100 10010101 10011100 10001010 10101001
3.take each binary form as m1,m2,m3,m4 and then perform XOR operation between them,like m1 xor m2 ,m2 xor m3, m3 xor m1,m1 xor m2 xor m3.
3.then print the result.
i have apiece of code here but using it i cud only convert a word into binary but not able to perform XOR operation. please Ulf help me!
Joined: Mar 22, 2005
Are you familiar with the XOR operator in Java? It's "^", and searching for "bitwise logical operators java" should find more info about it.