elizabethfey1824 elizabethfey1824
  • 27-01-2020
  • Computers and Technology
contestada

Given a Fahrenheit value temperatureFahrenheit, write a statement that assigns temperatureCelsius with the equivalent Celsius value. While the equation is C

Respuesta :

l135134 l135134
  • 03-02-2020

Answer:

# include<iostream>

#include<conio.h>

using namespace std;

main()

{

float f, c;

cout<<"enter temperature in Fahrenheit ="

cin<<f;

c=(f-32)/1.8;

cout<<"/n Temperature in Celsius ="<<c;

getch();

}

Explanation:

The conversion formula from Fahrenheit to Celsius is given as:

C= (F-32) x 5/9

we take an input in Fahrenheit and put in above formula and covert it in Celsius.

Answer Link

Otras preguntas

Who here knows how to construct a hexagon using a compass,straight-edge, and circle.
HELP PLEASE!!!! - The correlation coefficient r between the size of a lake in square miles, x, and the yearly number of registered boaters, y, is 0.7453. What p
On a topographic map, contour lines that are closer together indicate a. roads. b. forest. c. a steeper slope. d. a mountain top.
What was the difference between puritans and separatists?
What is the solution of this system of equations? Multiple Choice y = 3x + 5 y = -x + 3 a. (2.1, 11.3) b. (-2.1, 5.1) c. (-0.5, 3.5) d. (0.5, 2.5)
Are the two triangles congruent? or not. I think the answer is D.
What number make the sentence true 12*(36+17)=12*36+ *17
Why did they write the declaration of independence?
What does the mention of the “thousand injuries” tell you about montresor?
150 ÷17 for fifth graders