Detect if two integers have opposite signs | GeeksforGeeks Given two signed integers, write a function...

Please Visit: http://ift.tt/1ajReyV



Detect if two integers have opposite signs | GeeksforGeeks



Given two signed integers, write a function that returns true if the signs of given integers are different, otherwise false. For example, the function should return true -1 and +100, and should return false for -100 and -200. The function should not use any of the arithmetic operators.

http://ift.tt/1l4CXjl

http://ift.tt/1iIKb85



Detect if two integers have opposite signs | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1l4CXjp

via LifeLong Community

No comments:

Post a Comment