Home
C++

How to Make a Celsius to Fahrenheit converter in C++

Mar 31, 2010 08:15 PM
634752877821245413.jpg

In this video, the instructor shows how to convert Celsius to Fahrenheit using a C++ program. This video shows how to do this by a live example where the instructor writes down the code to do it. First, code the basic structure of a c++ program that contains the include and all other statements. Now accept the value of temperature in Celsius from the standard input. Now multiply that value by 1.8 and add 32 to it to get the value in Fahrenheit. Display the value to the output. Finally, compile, run the program and test it by some sample values to verify that it works fine. This video shows how to code a C++ program that converts temperature from Celsius to Fahrenheit.

Related Articles

windows.h

Trying to Figure Out Random Number Generation with a Vector...

Comments

No Comments Exist

Be the first, drop a comment!