public class Test05 { public static void main(String[] args) { int c=100; int d=101; int e=102; int num1=c>d?c:d; int num2=d>e?d:e; System.out.println(num1>num2?num1:num2); } }