Ask Question

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.

+5
Answers (1)
  1. 12 December, 14:01
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers