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:

CSharp-program-to-convert-Celsius-into-Fahrenheit

 
We are nothing without our users ! You can help us offer even more high quality content. Please share our page !
Best quality Asp .Net Ajax Control Toolkit tutorials.

Give your valuable comments.

Name
Email
Comment
7 + 4 =
 
About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2022 CodingFusion
75 Important SQL Server queries you should know