import java.util.Scanner; public class f2c { public static void main (String args[]) { Scanner s = new Scanner(System.in); System.out.print("Enter Fahrenheit temperature: "); float fahrenheit = s.nextFloat(); s.nextLine(); float celsius = (fahrenheit - 32.0f) * (5.0f / 9.0f); System.out.println("Celsius equivalent: "+celsius); } }