diff options
Diffstat (limited to 'tex/thesis/implementation/experiments/simple_while.c')
-rw-r--r-- | tex/thesis/implementation/experiments/simple_while.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/thesis/implementation/experiments/simple_while.c b/tex/thesis/implementation/experiments/simple_while.c new file mode 100644 index 0000000..3bec629 --- /dev/null +++ b/tex/thesis/implementation/experiments/simple_while.c @@ -0,0 +1,8 @@ +int simple_while() { + int x = 1; + while (x <= 10) { + x = x + 1; + } + return x; +} + |