CSC300 / CSC402: How do you know? [3/20] Previous pageContentsNext page

01
02
03
04
05
06
07
08
09
  public static int f (int x, int y, int z) {
    int m = x;
    /* m == max(x) */
    if (m < y) { m = y; }
    /* m == max(x,y) */
    if (m < z) { m = z; }

    return m;
  }

Previous pageContentsNext page