you have a type Systen instead of System. inch is an integer, so you neeed to use nextInt()

int inch;
double cm;
double cmPerInch = 2.54;
Scanner in = new...