Write a program that converts degrees from Fahrenheit to Celsius, using the formula.
Hi . Thank you for asking your question on JustAnswer. The other Experts and I are working on your answer. By the way, it would help us to know:-Do you need the code in any programming language or you just need the pseudocode.Thank you again for trusting us with your problem. Please reply as soon as possible so that we can finish answering your question.
the forumla is DegreesC = 5(DegreesF - 32) /9
In Java.
Thanks
Hi,This is the code/* This program converts Fahrenheit to Celsius. Call this program FtoC.cs. */ using System; public class FtoC { public static void Main() { double f; // holds the temperature in Fahrenheit double c; // holds the temparture in Celsius f = 59.0; // start with 59 degrees Fahrenheit c = 5.0 / 9.0 * (f - 32.0); // convert to Celsius Console.Write(f + " degrees Fahrenheit is "); Console.WriteLine(c + " degrees Celsius."); } }**********************************************************************************Hope your problem is solved.Please give a positive feedback after pressing the accept button.Bonus is appreciated.
Hi, This is the program that converts degrees from Fahrenheit to Celsius, using the formula in the JAVA language public class DegreeConverter{ public DegreeConverter(){} public static float fahrenheitToCelsius(float df){ float degCelcius; degCelcius = (df - 32) * 9/12; return degCelcius; } public static void main(String[] args){ System.out.print("50 degrees in Celcius is: "); System.out.println(fahrenheitToCelsius(50)); } } Thanks Shidhin