Computer Science, asked by blablablahahahaha, 4 months ago

Direction:The temperature of person is 98.6°F. Write a program to convert the temperature into degree Celsius and display the output.
Hint: c / 5 = f - 32 / 9

Answers

Answered by pandoranil584
9

Answer:

public class KboatCelsius

{

public static void main(String args[]) {

double f = 98.6;

double c = 5 * (f - 32) / 9.0;

System.out.println("Temperature in Degree Celsius = " + c);

}

}

Similar questions