Code is copied!
Program to input temperature in Fahrenheit and convert it into degree Celsius and print it JAVA
Write a Program to input temperature in Fahrenheit and convert it into degree Celsius and print it .
import java.util.*; class temperature { public static void main(String[] args) { float c,f; Scanner sc=new Scanner(System.in); System.out.println("Enter Fahrenhiet="); f=sc.nextFloat(); c=((f-32)*5)/9; System.out.println("Celcius="+c); } }