/******************************************************************
 * Program Fahrentheit to Celsius
 *
 * Programmer: Tyler Johnson
 *
 * Due Date: N/A

 *
 * COMP 110-001        Instructor: Tyler Johnson
 *
 * Description: Convert a temperature in Fahrenheit to Celsius
 *
 * Input: Temperature in Fahrenheit
 *
 * Output: Temperature in Celsius
 *
 ******************************************************************/
 
 import java.util.Scanner;
 
 public class FahrenheitToCelsius  {
 
 	public static void main(String[] args)  {
	
		double tempF = 0, tempC = 0.0;
		
		Scanner keyboard = new Scanner(System.in);
		
		//Ask user for temp in Fahrenheit
		System.out.println("Enter a temperature in Fahrenheit.");
		
		tempF = keyboard.nextDouble();
		
		//Convert temp in Fahrenheit to temp in Celsius
		
		tempC = (5./9)*(tempF - 32);
		
		//Output the result
		
		System.out.println("That is " + tempC + " degrees Celsius.");

	
	}
 }