Computer Science, asked by charancharancb, 3 months ago

write a c++ program to convert Fahrenheit to celsius

Answers

Answered by shraddhagulve1234
3

Answer:

The program output is also shown below.

* C++ Program to Perform Fahrenheit to Celsius Conversion.

double fahrenheitToCelsius(double fahrenheit)

double celsius;

celsius = (fahrenheit - 32.0) * 5.0 / 9.0;

return celsius;

double fahrenheit;

std::cout << "Enter temperature in fahrenheit (in degrees) ";

Answered by kunusahmed
0

Answer:

How to write a C program to convert Fahrenheit to Celsius with an example. The mathematical formula behind the temperature conversion from degree Fahrenheit to Celsius in C is: Celsius = (5 / 9) * (Fahrenheit – 32) This C program to convert Fahrenheit to Celsius lets the user enter the temperature value in Fahrenheit.  

pls make me br.ain.li.est

Similar questions