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

[ad_1] 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 … Read more

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

Introduction [ad_1] Java is a powerful and versatile programming language that is used to create a wide variety of applications. It is an object-oriented language that allows developers to create complex programs with ease. One of the most common questions asked by Java developers is whether they can add a period to another period. The … Read more