summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'ruby')
-rwxr-xr-xruby/binom.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ruby/binom.sh b/ruby/binom.sh
index fcb73e4..da84f03 100755
--- a/ruby/binom.sh
+++ b/ruby/binom.sh
@@ -1,4 +1,6 @@
#!/bin/zsh
-for i in {0..10}; do ./binom.rb $i 0.1 10; done
+for i in {0..10}; do
+ echo "k=$i p=0.1 n=10 : $(./binom.rb $i 0.1 10)"
+done