about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2022-11-26 18:40:58 -0500
committerelioat <hi@eli.li>2022-11-26 18:40:58 -0500
commit0486cc9f735c44cb82ee0e9b48bc29c522de69e1 (patch)
tree4077fb6bb1196dee5938720b6731c32351fd22f0
parent601c05b0141abc625d0748d6ad3814a4afeb54dc (diff)
downloadhard-way-0486cc9f735c44cb82ee0e9b48bc29c522de69e1.tar.gz
*
-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.
+