Trace the execution of the following segment of code and determine
what is printed for each of the following values of answer: (a) 3;
(b) 0;  (c) 8;  (d) 1  (NOTE:  This requires a very careful trace because
it doesn't quite do what is expected due to missing braces.)
 
          int answer;
          System.out.print("Enter a number: ");
          answer = scan.nextInt();
          if (answer < 5)
             if (answer == 1)
                 System.out.println ("Hello");
             if (answer = 0)
                 System.out.println("There");
             else
                 System.out.println("You");
             if (answer > 2)
                 System.out.println("What's");
          else
                 System.out.println("Up");