aboutsummaryrefslogtreecommitdiffstats
path: root/test/gourdinl/c/biggest_of_3_int.c
blob: 346908fc3ee1334460d1aa71f46004688e1e1f16 (plain)
1
2
3
4
5
6
7
8
9
10
int main(int a, int b, int c) {
  if ((a > b) && (a > c)) {
    return a;
  } else if (b > c) {
    return b;
  } else {
    return c;
  }
  return 0;
}