Hi guys. I'm trying to create a program using a separate private method.
It is a program that prints the future of 4 peoples work, when given 5 command line arguments by user. The first is the present year, the other 4 are random birth dates of people.

I dont understand what this piece of code does. Can anyone care to explain?


printFuture(presentYear, yearsLeftWorking)
printFuture(presentYear, yearsLeftWorking)
printFuture(presentYear, yearsLeftWorking)
printFuture(presentYear, yearsLeftWorking)

I want the prgram to print out their future using a seprate method instead of just one main method. It should output something liek the following:

$ java Future 2009 1991 1989 1959 2008

Person 1 has "amount of years" years left to work.
In 2010, person 1 will have "amount of years - 1 " years left to work
In 2011 .... ..
In 2011...
...
Person 1 will retire in "year"

Person 2 has "amount of years" left to work.
In 2010, person 2 will have "amount of years - 1" years left to work.
In 2011....
....
Person 2 will retire in "year"


etc
etc upto person 4.

Kind Regards

Shyam

Thanks