Question

Updated
N = 8; next = (N%2==0) ? (N/2) : (3 * N + 1); What will be the value of next ?

AChoose Your Answer