about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--org/ex_01.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/org/ex_01.org b/org/ex_01.org
new file mode 100644
index 0000000..786b9b0
--- /dev/null
+++ b/org/ex_01.org
@@ -0,0 +1,19 @@
+* Exercise 1.
+
+
+#+BEGIN_SRC C
+  #include <stdio.h>
+
+  int main(int argc, char *argv[])
+    {
+      int distance = 100;
+
+      printf("you are %d miles away.\n", distance);
+
+      return 0;
+    }
+#+END_SRC
+
+#+RESULTS:
+: you are 100 miles away.
+