0

how can I make program to find the bigger of the three numbers without using conditional operators

27th Oct 2016, 1:20 PM
Shivanshu Srivastava
Shivanshu Srivastava - avatar
2 Antworten
+ 1
Conditional operator is ?. right? You can easily change these condition using if else statement. Apart from this, there is predefined methods available
27th Oct 2016, 5:26 PM
Venkatesh(Venki)
Venkatesh(Venki) - avatar
+ 1
if you have these in a list, you can do list.Max(). Should work
27th Oct 2016, 6:17 PM
Kamil Kosyl
Kamil Kosyl - avatar