// program to test nested if-else class nestedifs { public static void main(String[] args) { int a = 8; int b = 6; int c = 4; int max; if (a