Home All Groups Group Topic Archive Search About
Author
25 Nov 2007 7:43 PM
HardTP
Hi I'm  having hard time with these calculations. I need to complete this form in vb.net where user inputs salary, raise %, and retirement age. What I need to do is calculate the salary and raise for each year until the retirement age. This means I need to increment the salary based on the current age minus the retirement age. Can somebody help? From http://www.developmentnow.com/g/38_2006_5_0_15_0/dotnet-languages-vb.htm Posted via DevelopmentNow.com Groups http://www.developmentnow.com

Author
25 Nov 2007 11:16 PM
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.

Show quoteHide quote
"HardTP" wrote:

> Hi I'm  having hard time with these calculations. I need to complete this form in vb.net where user inputs salary, raise %, and retirement age. What I need to do is calculate the salary and raise for each year until the retirement age. This means I need to increment the salary based on the current age minus the retirement age. Can somebody help?
>
> From http://www.developmentnow.com/g/38_2006_5_0_15_0/dotnet-languages-vb.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
>
Are all your drivers up to date? click for free checkup

Author
26 Nov 2007 12:57 AM
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)). 
--
Terry


Show quoteHide quote
"HardTP" wrote:

> Hi I'm  having hard time with these calculations. I need to complete this form in vb.net where user inputs salary, raise %, and retirement age. What I need to do is calculate the salary and raise for each year until the retirement age. This means I need to increment the salary based on the current age minus the retirement age. Can somebody help?
>
> From http://www.developmentnow.com/g/38_2006_5_0_15_0/dotnet-languages-vb.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
>

Bookmark and Share

Post Thread options