+ 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
4 ответов
+ 14
@Chirag ?: is conditional operator.
https://code.sololearn.com/c1wZsbfUX3nF/?ref=app
+ 8
my condition breaking code...
https://code.sololearn.com/cRFNnyi463rQ/?ref=app
+ 7
too late
+ 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..........