Incrementing

H

HardTP

F

Family Tree Mike

Current age minus retirement age should not impact the salary calculation.
Post your code and where you are having a problem, and maybe someone can help.
 
T

Terry

Well, you seem to be missing one important piece of information - like
current age. Or, lacking that, instead of retirement age,
years-to-retirement. Then, knowing the number of years till retirement, when
the user clicks the 'Calculate' button, it is basically, for each year till
retirement, salary = salary * (1+(raise%/100)).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top