What have you been taught about what
nextLine() does? You might do well to read the individual words with
next() and test them for equality. Or you can use a
switch if you prefer. Just beware of weather forecasts like this:-
It will be freezing cold until 10 o'clock, after which it will become very warm.