This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi well, the code snippet you posted gives a negative result when both operands are negative. In the second sysout, though you have given a negative sign to print to console, while doing th actual calculation, you missed it, thats why the confusion i think. Let me know if i understand it properly(or if you ment something else in your problem statement) jhakda
[ April 09, 2008: Message edited by: Jhakda Velu ] [ April 09, 2008: Message edited by: Jhakda Velu ]
If I become filthy rich, I'll sponsor research for painless dental treatment at Harvard Medical School. Thats why,I'm learning Java.I have 32 teeth, 22 are man made.