double base Fahrenheit and Celsius (Centigrade) Scales
using System;
public class MainClass {
public static void Main(string[] args) {
double dFahr = 123.123;
double dCelsius;
dCelsius = (dFahr - 32.0) * (5.0 / 9.0);
Console.WriteLine("Temperature in degrees Celsius = " + dCelsius);
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
|