C# Program to Convert temperature from Fahrenheit to Celsius

In this program, we are going to convert the temperature which you must define in Fahrenheit to Celsius. We are using C# console application in order to convert it. We can also use the Windows Forms or Web Applications to do it, the logic will be same, but you need to create the button events and labels to convert it. It is pretty simple program which can be done by using the single line logic celsius = (fahrenheit - 32) * 5 / 9; as you need to subtract Fahrenheit with 32 and then multiply the result with 5 and divide it 9, in order to convert it.

So, let us check out a C# Program to Convert temperature from Fahrenheit to Celsius.

Open Visual Studio 2010 or 2012. As we are using the Console Application, make sure you select Console Application after selecting the New Project.

Siddartha is a Blogger from India. He is currently working as a Java Front End developer and he loves writing about tutorials, technology, algorithm, etc. You can follow him on Twitter | Facebook | Google+.
You can subscribe to Programming Unit RSS Feed or Email Norifications.