Grim, but neat! You might consider leveraging an actuarial table of life expectancy by age[0], rather than hardcoding it at 80, since you're already doing the necessary age calculations.
It bears mentioning that if you're in the US, living until 80 is a pretty optimistic expectation - the average for men is 73 and the average for women is 79.