+ 3

Challenge 7

Write a Java code to input three numbers and output the median. Conditions: I)You cannot use if statement. ii)You cannot use conditional operations. iii)You cannot use arrays. The one who does it in the smallest time wins... Waiting. And these are the stats. https://code.sololearn.com/W0wkmhOLVnju/?ref=app

16th Jul 2017, 9:23 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
4 Respuestas
+ 14
@Chirag ?: is conditional operator. https://code.sololearn.com/c1wZsbfUX3nF/?ref=app
16th Jul 2017, 2:25 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 8
16th Jul 2017, 9:44 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 7
too late
16th Jul 2017, 10:25 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 5
@krishna sir......😢😱😱 OOPSSSS!!!!!!!!! as much as i remember i was in a hurry while writing this code and so assumed ?: to be just a ternary operator........😓😓😓😡😡😡............ have to take care of this thing from now..........
16th Jul 2017, 3:46 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar