Ask Question
16 March, 07:53

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.

+4
Answers (1)
  1. 16 March, 09:46
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers