1.Suppose "salary" and "deductions" are variables of type "double" that have been given values. Write an if-else statement that displays "OK" and sets the variable "net" equal to "salary" minus "deductions", provided that "salary" is at least as large as "deductions". If, however, "salary" is less than "deductions", the if-else statement should simply display the words "No way" but not change the value of any variables. 2. What output is produced by the following code? int time = 2, tide = 3; if(time + tide > 6) System.out.println("Time and tide wait for no one."); else System.out.println("Time and tide wait for me."); 3. What output is produced by the following code? int code = 2; switch(code) { case 1: System.out.println("Hello."); case 2: System.out.println("Good-bye"); break; default: System.out.println("Till we meet again."); break; }