Hamilton Laboratories ▷ Hamilton C shell 2012 ▷ User guide ▷ Samples

c2f.csh

Oregon Coast

c2f.csh
Previous | Next

#  Convert from Celsius to Fahrenheit.
#  Copyright (c) 1995-2012 by Hamilton Laboratories.  All rights reserved.

proc c2f( c )
   return c*9/5 + 32
end

c2f $argv

Previous | Next