What will the output be for the following poorly formatted program segment, if the input value for num is 22?
int num = call to a method that reads an integer;
if (num > 0)
if (num % 5 == 0)
System.out.println(num);
else System.out.println(num + " is negative");
(A) 22
(B) 4
(C) 2 is negative
(D) 22 is negative
(E) Nothing will be output.