kellylopez8500 kellylopez8500
  • 22-02-2018
  • Computers and Technology
contestada

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.

Relax

Respuesta :

roger48118
roger48118 roger48118
  • 23-02-2018
float   f;
scanf(" %f",&f);
printf("%.1f F %.1f C\n", f,(f-32)*5./9.);

Answer Link

Otras preguntas

How does forest catch fire in the summer season
determine the equation of a circle having a diameter with endpoints at (12,-14) and (2,4)
C+(4-3c)-2=0 Need help
simplify the expression z2-z(z+3)+3z
A vessel is filled with liquid, 3 parts of which are water and 5 parts syrup. How much of the mixture must be drawn off and replaced with water so that the mixt
Please help perjure 1. move rhythmically back and forth 2. of or related to punishment 3. to lie on the witness stand under oath 4. to vibrate; to echo
Which measures would be the side lengths of a right triangle? A. 2 cm, 5 cm, 7 cm B. 9 cm, 14 cm, 17 cm C. 7 cm, 17 cm, 24 cm D. 5 cm, 12 cm, 13 cm
simplify the expression z2-z(z+3)+3z
Name and explain two types of prewriting?
state whether ordered pair of numbers is a solution of the sentence:3y>2x+1;(4,3)