Horje
Celsius to Fahrenheit c# Code Example
Celsius to Fahrenheit c#
private static void CelsiusToFahrenheit(double celsius)
{
    var fahrenheit = Math.Round((celsius * 1.8) + 32, 2);
  	Console.WriteLine($"{fahrenheit}°F");
}

// CelsiusToFahrenheit(0); output 32°F
// CelsiusToFahrenheit(20); output 68°F
// CelsiusToFahrenheit(30); output 86°F




Csharp

Related
arcane Code Example arcane Code Example
how to insert into a list c# Code Example how to insert into a list c# Code Example
get last element of array c# Code Example get last element of array c# Code Example
c# object to dictionary Code Example c# object to dictionary Code Example
how to add a gameobject Code Example how to add a gameobject Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11