Click here to Skip to main content
14,329,915 members
Rate this:
Please Sign up or sign in to 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
Wes Aday 20-Sep-12 7:27am
   
How exactly is this a problem?

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100