CSC300: Induction: Is this function useful? [1/15] Previous pageContentsNext page

01
02
03
04
05
06
public static int f (int x, int y) {
  while (false) {
    x++;
  }
  return x;
}

Degenerate loop 1

Previous pageContentsNext page