Please someone help me with this ruby code on putty/emacs
Write a statistical program in Ruby to:
a) Input the name of a data file from the command line arguments.
b) Input floating-point numbers from the data file.
c) Calculate and output the mean. This is the average, or the sum of
values divided by the number of values.
d) Calculate and output the median. This is the value such than half
values are larger and half are smaller. If you have an even number
values use either middle value or the average of the two middle