Hi Ganesh ,
Two points about your last post :
1. If we take 1000 as the base , then irrespective of the salary , 1000 + 5 * 50 will be 1250. You say when a person's salary is 800 , we need to take 1000 as the base ; you also say when a person's salary is 1100 , we should still take 1000 and not 1100. Is this correct ?
2. You say 250 + 800 = 1150 , which is not correct ; it is 1050. Is this correct ?
Do you mean that if the salary exceeds 1000 , we should take 1000 as the limit , and if the salary is less than 1000 , we take the actual salary ?
Narayan