import java.util.Scanner; public class FtoC { static Scanner keyboard = new Scanner(System.in); public static void main(String [] args) { int fahrenheit; int celsius; System.out.println("What is the temperature in Fahrenheit?"); fahrenheit = keyboard.nextInt(); celsius = (int) ((fahrenheit - 32) * (5.0/9.0)); System.out.print(fahrenheit + " degrees F is equal to "); System.out.println(celsius + " degrees C"); } }