2 תשובות
צריך להתחל את scanner

scanner input = new scanner (system.in):
תכתוב בין הsystem הראשון לפקודת קלט- input.next();
בנוסף לא במקום