Book: Wrong logic. Change || to &&.