The major indexes climbed for a second day on investor hopes easing inflation may bring an end to interest rate increases.