Consider this program segment:
int newNum = 0, temp;
int num = k; //k is some predefined integer value ≥ 0
while (num > 10)
{
temp = num % 10;
num /= 10;
newNum = newNum * 10 + temp;
}
System.out.print(newNum);
Which is a true statement about the segment?
I If 100 ≤ num ≤ 1000 initially, the final value of newNum must be in the range
10 ≤ newNum ≤ 100.
II There is no initial value of num that will cause an infinite while loop.
III If num ≤ 10 initially, newNum will have a final value of 0.
(A) I only
(B) II only
(C) III only
(D) II and III only
(E) I, II, and III