public static void Main()
int fahrenheitTemp1 = 50;
int celsiusTemp1 = (fahrenheitTemp1 - 32) * 5 / 9;
Console.WriteLine($"Temperature One is {celsiusTemp1}");
int fahrenheitTemp2 = 30;
int celsiusTemp2 = convertToCelsius(fahrenheitTemp2);
Console.WriteLine($"Temperature Two is {celsiusTemp2}");
public static int convertToCelsius(int fahrenheit)
return ((fahrenheit - 32) * 5 / 9);