//This program will prompt for user to enter in the Fahrenheit temperature and convert it to Celsius.
import java.util.Scanner;
public class Project4
{
public static void main (String[]args)
{
double temperature;
double celsius;
Scanner scan = new Scanner (System.in);
System.out.println("Enter the current temperature in Fahrenheit: ");
temperature = scan.nextDouble();
celsius = ((temperature-32)*5/9);
}
System.out.println("So the temperature in Celsius is " + celsius);
}
The final println command has a syntax error with "println". Why is that?