summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/simple_while.c
blob: 3bec629faef86af6f4fbdfca0c05af374979b193 (about) (plain)
1
2
3
4
5
6
7
8
int simple_while() {
  int x = 1;
  while (x <= 10) {
    x = x + 1;
  }
  return x;
}