RajitaBhusal
RajitaBhusal RajitaBhusal
  • 08-10-2021
  • Computers and Technology
contestada

algorithm to convert Fahrenheit temperature into celsius temperature​

Respuesta :

Аноним Аноним
  • 08-10-2021

Lets use python

[tex]\\ \tt F=(float(input("Enter\:temperature\:in\:Fahrenheit:")))[/tex]

[tex]\tt C=(F-32)*5/9[/tex]

[tex]\tt print("Temperature\:in\:Celsius\:is",C°C)[/tex]

Output:-

[tex]\tt Enter\:temperature\;in\:Fahrenheit:32[/tex]

[tex]\tt Temperature\:in\:Celsius\:is\:0°C[/tex]

Answer Link
Аноним Аноним
  • 08-10-2021

Answer:

Using c++ variable names

double c;

double f;

//set f to some temperature value or pass the value to the function

c=f-32;

c=f*(5/9);

//c is now the temp in celcius

Answer Link

Otras preguntas

Henry Hudson claimed land in America for both England and what other nation? Spain Holland France Russia
Which fraction expresses 18 - 81 in lowest terms
I don't understand this .
How did teddy roosevelt use America's power??
1. When London speaks of Buck (metamorphosing), he means that Buck lost his appetite. changed into a different kind of dog. dominated the sled dog team. ret
Why is hydrogen chloride (HCl) polar? it has equally shared electrons it has unequally shared electrons it has bent asymmetry it has linear symmetry
3 x - 8 = -15 answer this question
I need help ASAP!! Please !!!
describe how nicotine affects the brain.
Insolation is a term used to describe the energy that reaches the earth coming from the Sun. True False