[Solved] Java: I can add as period to another period?

Before begining your loop create three variables wich are totalAnios (totalYears), totalMeses (totalMonths) , totalDias (totalDays) and initialize them to 0. int totalAnios = 0; int totalMeses = 0; int totalDias = 0; do { …. } And before closing the loop (before while(…) ) you have to add the difference of years, months and … Read more