Assume numx and numy are integers. How many times might the following code print out orange? Explain your answer. (2 marks) if (numX > numy && numX < numy) System.out.println("orange"); else { if (numX num) { System.out.println("orange"); if (numX > numy) System.out.println("orange"); }//end numx == numy }//end else
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!