summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/counter.c
blob: ae935e6dd5dc39cdfd1c7f85cf491a733d48c446 (about) (plain)
1
2
3
4
5
6
7
8
int counter() {
  int i = 0;
  while (i < 100) {
    i = i + 1;
  }
  return i;
}