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

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

Degenerate loop 2

Previous pageContentsNext page