Question: Question 1 1 pts Consider the following code which uses the int variable num: if (num = 5) { System.out.println(Three); } else { System.out.println(Two); if






Question 1 1 pts Consider the following code which uses the int variable num: if (num = 5) { System.out.println("Three"); } else { System.out.println("Two"); if (num = 5) { System.out.println("Three"); 3 else if (num >= 0) { System.out.println("Two"); 3 else { System.out.println("One"); 3 lonly Ill only I and II only land Ill only O I, II and III Question 2 What is output by the following code? int x = 9; if (x / 2 = low) { if (rain = low) 1 System.out.println("Rainfall amount is normal."); } else if (rain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
