C program to convert temperature from degree Celsius to Fahrenheit
###### Posted by Samath
Last Updated: January 02, 2017

Write a C program to input temperature in Celsius (centigrade) from user and convert to Fahrenheit. The formula to convert temperature from degree Celsius to degree Fahrenheit is:

`°F = (°C * 9) / 5 + 32`

Code:

```#include<stdio.h>

int main() {
float celsius, fahrenheit;

printf("\nEnter Temperature in Celsius : ");
scanf("%f", &celsius);

fahrenheit = (1.8 * celsius) + 32;
printf("\nTemperature in Fahrenheit is : %f ", fahrenheit);

return (0);
}```

###### Celsius to Fahrenheit in C++
Samath | Dec 25, 2014
###### Freezing & Boiling Points (Temperature Class) in C++
Samath | Jan 18, 2024
###### Convert Roman numerals to decimal using Java
Samath | Jan 17, 2024
###### Convert Integer to Roman Numeral using C#
Samath | Jan 20, 2024
###### C program that takes an 8-bit number and Convert it to hexadecimal format
Samath | Jan 01, 2017
###### C++ Convert from Decimal to Octal
Samath | Jan 05, 2017
###### C++ Convert an Integer to Roman Numeral
Samath | Jan 20, 2024
###### Python to Convert Decimal to Binary, Octal and Hexadecimal
gideonna | Apr 13, 2016
###### Convert ASCII Character to Hexadecimal and Binary using C++
Samath | Jan 05, 2017
###### Python Convert Decimal to Binary or Binary to Decimal
Samath | Jan 09, 2017
###### Java program that convert meters to miles, feet, and inches
Samath | Feb 08, 2021
###### Java unit conversion program that convert (fl. oz, gal, oz, lb, in, ft, mi) to (ml, l, g, kg, mm, cm, m, km)
Samath | May 08, 2021