0

could u help me with my java programming? i have this problem: Thanks a lot!!!!

The mathematician Augustus De Morgan was aged 43 in the year 1849AD. This is interesting because 43 squared is 1849, ie, in 1849 his age was the square root of the year.

Given that no person has ever lived longer than 123 years (and assuming that no one ever will), write a Java application that will determine if it is possible that anyone who is alive today is, has ever been, or will ever be alive in a year that is the square of their age.

If it is possible, your program should print out the years in which it happens and the ages that the people concerned will have in those years.