summaryrefslogtreecommitdiff
path: root/div
blob: 93585dc9720416c970a2f5dd73abb2ae2b131acc (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env ruby

factor = ARGV[0].to_f
exit if factor==0
while line = STDIN.gets
  puts line.to_f / factor
end