write a program to convert Fahrenheit into celcius
Answers
Answered by
2
I am not a sci student lol
Answered by
4
Answer:
#include <iostream>
using namespace std;
int main() {
float celsius;
float fahrenheit;
cout << "Enter Fahrenheit temperature: ";
cin >> fahrenheit;
celsius = (5.0/9) * (fahrenheit - 32);
cout << "Celsius = " << celsius << endl;
return 0;
}
Explanation:
I have written it in c++
temp in fahrenheit is converted to celsius using formula
c=(f-32)*5/9
USe this logic in program
Hope it helps :-)
Similar questions