summaryrefslogtreecommitdiff
path: root/sqrt
blob: d0a67b1f4ba1b62a01233497589016b086d6a146 (plain)
1
2
3
4
5
6
#!/usr/bin/env ruby

while line = STDIN.gets
  puts Math.sqrt line.to_f
end