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


factor = ARGV[0].to_f
while line = STDIN.gets
  puts line.to_f * factor
end