C# Program to convert Celsius into Fahrenheit
In this C# program, we will take the input Celsius from the user and change it to Fahrenheit.
C# Program to convert Celsius into Fahrenheit Code:
private static void Main(string[] args)
{
int celsius, fahrenheit;
Console.Write("Enter the Temperature in Celsius: ");
celsius = int.Parse(Console.ReadLine());
fahrenheit = ((celsius * 9) / 5) + 32;
Console.WriteLine("Temperature in Fahrenheit is : " + fahrenheit);
Console.ReadLine();
}
C# Program to convert Celsius into Fahrenheit Output: