public class TemperatureChanger
{
public static void main(String[]args)
{
Scanner keyboard = new Scanner(System.in);
int c;
int f;
int tempFaren;
System.out.println("Enter temperature in celcius");
c = keyboard.nextInt();
tempFaren = (9 *c)/5 + 32;
System.out.println( " In Fahrenheit that is " + tempFaren );
}
}
我TemperatureChanger.java:7: cannot find symbol Scanner keyboard = new Scanner(System.in)
在编译期间收到错误。我需要做什么来解决这个问题。