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
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
Math,
1 month ago
Social Sciences,
1 month ago
Math,
4 months ago
Science,
4 months ago
Math,
11 months ago
Computer Science,
11 months ago
English,
11 months ago