public class Scanner {
int inch;
double cmPerInch = 2.54;
Scanner in = new Scanner(Systen.in);
public static void main(String[] args) {
System.out.print("How many inches? ");
inch = in.nextLine();
cm = inch * 2.54;
System.out.print(inch + " in = ");
System.out.println(cm + " cm");
}
}
What am i missing? It wont run.. and im following directions of a book that says it will run and be working but no..
Please help me out.