CHALLENGE>>HOW TO COMPARE TWO VALUE WITHOUT COMPARISON OPERATORS(>,<,==) | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

CHALLENGE>>HOW TO COMPARE TWO VALUE WITHOUT COMPARISON OPERATORS(>,<,==)

How to compare two value without comparison operators?(>,<,==) Here is my solution: https://code.sololearn.com/c5jAIJw3uqdL/?ref=app

2nd Oct 2017, 4:14 PM
Yusuf
Yusuf - avatar
8 Antworten
+ 6
https://www.sololearn.com/discuss/664933/?ref=appx https://code.sololearn.com/chZ9WH6sJWFC/?ref=app
3rd Oct 2017, 4:11 AM
m abrate
m abrate - avatar
+ 5
@Joseph Hardrock off course, and you already have 9 answers in Python..
3rd Oct 2017, 9:25 AM
m abrate
m abrate - avatar
+ 2
Here's one that only works on whole numbers, but doesn't need ifs. https://code.sololearn.com/WPofJv0ZAME7/#js
2nd Oct 2017, 4:46 PM
Schindlabua
Schindlabua - avatar
+ 1
https://code.sololearn.com/cn2hY1sB2zhb/?ref=app
2nd Oct 2017, 10:14 PM
Amr Ibrahim Khudair
Amr Ibrahim Khudair - avatar
0
Still I cannot see the simple solution everyone can do.
3rd Oct 2017, 5:50 AM
Yusuf
Yusuf - avatar
0
And you can use any language in my challenge. @m abrate
3rd Oct 2017, 5:51 AM
Yusuf
Yusuf - avatar
0
Writing original code will develop people's thinking process. Writing someone's code doesn't hurt us. @m abrate
3rd Oct 2017, 10:58 AM
Yusuf
Yusuf - avatar
6th Oct 2017, 8:01 PM
souma soumaya
souma soumaya - avatar