The formula for converting temperature from Fahrenheit to Celsius is C = 5/9 * (
ID: 3684300 • Letter: T
Question
The formula for converting temperature from Fahrenheit to Celsius is C = 5/9 * (F – 32). Write a function Celsius that accepts a Fahrenheit temperature as an argument and returns the temperature in Celsius.
The formula for converting temperature from Fahrenheit to Celsius is C = 5/9 * (F – 32). Write a function Celsius that accepts a Fahrenheit temperature as an argument and returns the temperature in Celsius.
Explanation / Answer
#include #include using namespace std; int main() { float C, F; cout > F; //formula to calculate temperature in celsius using temperature in fahrenheit C = (5/9)*(F-32); //display temperature in celsius coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.