Click here to Skip to main content
14,976,129 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
dear ,
i have a problem to derive the formula
my scenario is:

if salary of a person is less than 160,he is charged by 1%
if salary of a person is less than 260,he is charged by 1% of 1st 160 and 15% of balance
if salary of a person is less than 100,he is charged by 1% of 1st 160 and 15% of next 100000 and 25% of balance

if i could get its formula, i would be very grateful

please help me!!!!
Posted
Updated 20-Sep-12 2:00am
v2
Comments
[no name] 20-Sep-12 7:27am
   
How exactly is this a problem?

1 solution

By taking a tour of these samples, I'm sure that you can formulate the required formula on your own.

MSDN Tour[^]
Spread Sheet tour[^]
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900