aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-03-15 14:58:24 +0100
committerAbigail <abigail@abigail.be>2021-03-15 20:21:46 +0100
commit2c25799f474f9ee527ad021cc0f13a2ef91234ce (patch)
tree771a34f642819691e0798d01d5c3ba7339c9fab4
parentee379c0e8d6d4da5ab272350cba98afb20c208e3 (diff)
downloadperlweeklychallenge-club-2c25799f474f9ee527ad021cc0f13a2ef91234ce.tar.gz
perlweeklychallenge-club-2c25799f474f9ee527ad021cc0f13a2ef91234ce.tar.bz2
perlweeklychallenge-club-2c25799f474f9ee527ad021cc0f13a2ef91234ce.zip
bc solution for week 104, part 2
-rw-r--r--challenge-104/abigail/README.md1
-rw-r--r--challenge-104/abigail/bc/ch-1.bc8
2 files changed, 9 insertions, 0 deletions
diff --git a/challenge-104/abigail/README.md b/challenge-104/abigail/README.md
index 56719690f7..17bcb41f68 100644
--- a/challenge-104/abigail/README.md
+++ b/challenge-104/abigail/README.md
@@ -24,6 +24,7 @@ even handle a single if statement. A single print statement is enough.
* [Bash](bash/ch-1.sh)
* [Basic](basic/ch-1.bas)
* [Befunge-93](befunge-93/ch-1.bf93)
+* [bc](bc/ch-1.bc)
* [C](c/ch-1.c)
* [Lua](lua/ch-1.lua)
* [Node.js](node/ch-1.js)
diff --git a/challenge-104/abigail/bc/ch-1.bc b/challenge-104/abigail/bc/ch-1.bc
new file mode 100644
index 0000000000..a01629f2fe
--- /dev/null
+++ b/challenge-104/abigail/bc/ch-1.bc
@@ -0,0 +1,8 @@
+#
+# Run as: bc ch-1.bc
+#
+"0 1 1 2 1 3 2 3 1 4 3 5 2 5 3 4 1 5 4 7 3 8 5 7 2 7 "
+"5 8 3 7 4 5 1 6 5 9 4 11 7 10 3 11 8 13 5 12 7 9 2 9"
+"
+"
+quit