Computer Science, asked by umeshmehar682, 1 month ago

write a program in java to input the temperature in fahrenheit and change it to celcius. ​

Answers

Answered by haniaishaq165319i
1

JAVA

public class Celsius.

{

public static void main (String args[])

{ float Fahrenheit, Celsius;

Fahrenheit = 43;

Celsius = ((Fahrenheit-32)*5)/9;

System.out.println("Temperature in celsius is: "+Celsius);

}}

Similar questions