From c7c1bd7641581e2a0b84dcecdab61ed7c43268e9 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 22 Nov 2015 15:26:49 -0500 Subject: add input --- examples/right_tri.ds | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 examples/right_tri.ds (limited to 'examples') diff --git a/examples/right_tri.ds b/examples/right_tri.ds new file mode 100755 index 0000000..7a50368 --- /dev/null +++ b/examples/right_tri.ds @@ -0,0 +1,6 @@ +#!/bin/ducky +PROMPT a +PROMPT b +LOG Length of hypotenuse: +LOGVAR sqrt(a**2 + b**2) +NEWLINE -- cgit v1.1