1 private static int max(int x, int y){ 2 return x > y ? x : y; 3 } 4 5 private static printMax(num0, num1..., num9){ 6 return max(num0,max(num1,max(num2,max(num3,max(num4,max(num5,max(num6,max(num7,max(num8,num9)))))))));