What will be the output of the following code? public class…
What will be the output of the following code? public class Testmain { public static void main(String[] args) { int a = 6, b = 9, c = 3; if (a + b > c * 5) { if (b – a > c) { System.out.println(a + b); } else { System.out.println(b – c); } } else { if (a * c < b) { System.out.println(a * c); } else { System.out.println(b - a); } } } }
Read Details