How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask NeOh Your Own Question

NeOh, Computer Software Engineer
Category: Programming
Satisfied Customers: 951
Experience:  Currently working in web applications.Good Experience in C,VB,ASP,Javascript
Type Your Programming Question Here...
NeOh is online now
A new question is answered every 9 seconds

Write a program that converts degrees from Fahrenheit to Celsius,

Customer Question

Write a program that converts degrees from Fahrenheit to Celsius, using the formula.
Submitted: 7 years ago.
Category: Programming
Expert:  helpdesk replied 7 years ago.
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.
Customer: replied 7 years ago.

the forumla is DegreesC = 5(DegreesF - 32) /9


In Java.



Expert:  helpdesk replied 7 years ago.
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.
Expert:  NeOh replied 7 years ago.

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: ");



Related Programming Questions