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