Question: java help Convert totalYears to millennia, decades, and years, finding the maximum number of millennia, then decades, then years Ex if the input is 2012,
Convert totalYears to millennia, decades, and years, finding the maximum number of millennia, then decades, then years Ex if the input is 2012, the output is: Millennia: 2 Decades: 1 Years: 2 Note: A millennium has 1000 years. A decade has 10 years
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
