Alright, was confused because I didn't even see that persons response. Thanks copeg for the help!
Type: Posts; User: Nuggets
Alright, was confused because I didn't even see that persons response. Thanks copeg for the help!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code...
That helped a lot, thanks! So I just need to add 65 to the year inputted (year += 65). Wow, made this problem a lot more complicated than it was.
One more hint guys, please. Is it a for, if or while loop? All the for loop did was count up to 65 for the year. I need it to output the exact year the person will turn 65, not the number 65.
Okay, so I would have to set the value of the inputted year to equal 0 right? Then I would need a for loop to count the years until it reaches 65?
for (year=0; year<65; year++)
Am I getting...
I'm still having a hard time understanding how to calculate the years.
Need help with a java program assignment for school. Here is the problem:
We are all looking forward to retiring someday. Assuming we will retire on our 65th birthday, write a Java program that...