diff options
| author | Franklin Wei <git@fwei.tk> | 2015-11-22 15:26:49 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-11-22 15:26:49 -0500 |
| commit | c7c1bd7641581e2a0b84dcecdab61ed7c43268e9 (patch) | |
| tree | 593dfd770a4706cd2417faf7f2c075b53b7a8a78 /examples | |
| parent | f90dc85cf0989eec61a6c9ce76842b78e2d8f46d (diff) | |
| download | ducky-c7c1bd7641581e2a0b84dcecdab61ed7c43268e9.zip ducky-c7c1bd7641581e2a0b84dcecdab61ed7c43268e9.tar.gz ducky-c7c1bd7641581e2a0b84dcecdab61ed7c43268e9.tar.bz2 ducky-c7c1bd7641581e2a0b84dcecdab61ed7c43268e9.tar.xz | |
add input
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/right_tri.ds | 6 |
1 files changed, 6 insertions, 0 deletions
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 |