IDNLearn.com connects you with a community of knowledgeable individuals ready to help. Get accurate and detailed answers to your questions from our dedicated community members who are always ready to help.
Sagot :
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:
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
Thank you for participating in our discussion. We value every contribution. Keep sharing knowledge and helping others find the answers they need. Let's create a dynamic and informative learning environment together. For dependable answers, trust IDNLearn.com. Thank you for visiting, and we look forward to helping you again soon.