// All the mistakes in question 2 have been corrected // and the program has been reformatted. public class Test2 // this is the second question { public static double SEVEN = 7.0; public static int another_val = 5; public static final int fval = 5; public static void main(String[] args) { boolean changer = true; int value = 5; if(changer != !true){ value = value + 1; System.out.println(value + SEVEN);} else switch(value){ case fval: System.out.println("Here\n"); break; default:break;} } }