year total and else month

calculation for the years total and else if is month
and how many months is the loan