1.

Write a program in Java to convert a temperature in F to that in c. Note: C=(F-32)*5/9Please write the program for class 8thAnd I wud mark u as the brainliest

Answer»

public CLASS temperature  

{  

  public static void main (String ARGS[])  

   { FLOAT Fahrenheit, Celsius;  

         Celsius= 13;  

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

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

   }

}



Discussion

No Comment Found