+ 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 Answers
+ 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..........