
import java.util.*;
class ranjan
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
float f,c;
System.out.print("Enter the Fahrenheit value = ");
f=sc.nextFloat();
c=(f-32)*5/9;
System.out.println("Celsius = "+c);
}
Output:
Enter the Fahrenheit value = 200Celsius = 93.333336
0 Comments