Ask Question
7 June, 10:57

Write a program named fahrenheittocelsius that accepts a temperature in fahrenheit from a user and converts it to celsius by subtracting 32 from the fahrenheit value and multiplying the result by 5/9. display both values to one decimal place.

+3
Answers (1)
  1. 7 June, 13:41
    0
    Float f;

    scanf (" %f",&f);

    printf ("%.1f F %.1f C/n", f, (f-32) * 5./9.);
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write a program named fahrenheittocelsius that accepts a temperature in fahrenheit from a user and converts it to celsius by subtracting 32 ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers