hi all
can i know how to find greatest of two numbers?
the condition is we should not use any comparision operators..
thanks in advance
sharathg.satya -10 Posting Whiz in Training
Recommended Answers
Jump to PostMore like it's filtering out the better candidates because they won't consider an employer that cares more about trivia than real skills.
Jump to Postbut also the questions asked in the HR round of interview
I agree it's used to weed out candidate that can program. The answer to give the HR guy is "of what use is finding the greatest of two numbers without using comparison operators? Do you recommend using convoluted programming …
All 7 Replies
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
sharathg.satya -10 Posting Whiz in Training
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
sharathg.satya -10 Posting Whiz in Training
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
zeroliken commented: Agree :) +9
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
sharathg.satya -10 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.