summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/example.c
blob: 39b65f2d758557a0c0851062592e0c075b6c23a1 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
int example() {
  int x1 = 1;
  int x2 = 1;

  while (x1 <= 8) {
    x1 = x1 + 2;
    x2 = x2 + 2;
  }
  return x2;
}