Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2012 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3327729 to your computer and use it in GitHub Desktop.
Save anonymous/3327729 to your computer and use it in GitHub Desktop.
public static double[] FarenheitConversions (double Farenheit)
{
double FarenheitCelsius;
FarenheitCelsius = (Farenheit - 32) * (5 / 9);
double FarenheitKelvin;
FarenheitKelvin = (Farenheit + 459.67) * (5/9);
double FarenheitRankine;
FarenheitRankine = Farenheit + 459.67;
return new [] { FarenheitCelsius, FarenheitKelvin, FarenheitRankine };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment