static float Farenheith(int inmatat)
float farh= (float)inmatat;
static float FahrToCel(float farh)
float cel = (farh - 32) * 5 / 9;
public static void Main()
Console.WriteLine("Welcome to the Sauna. Please insert prefered temperature in Farenheith: ");
while (cel < 73 || cel > 77)
{inmatat= Convert.ToInt32(Console.ReadLine());}
{Console.WriteLine("Bara siffor!");
inmatat = Convert.ToInt32(Console.ReadLine());}
inmatat = Convert.ToInt32(Console.ReadLine());
farh = Farenheith(inmatat);
Console.WriteLine("That matches {0} degrees celsius. Thats to cold for sauna. Please turn up the heat.", Math.Round(cel,1));
Console.WriteLine("That matches {0} degrees celsius. Thats to warm for sauna. Please turn up down heat.", Math.Round(cel,1));
Console.WriteLine("That matches {0} degrees ceksius. This is a fitting temperature. Enjoy!");