Well all the companies have there own polices to calculate HRA and dearness allowance e.g I will assume HRA to be 50% of the basic salary thus the user need to input the basic salary and the program should look like this:
main()
{
int basic_salary, HRA;
printf("Enter Basic Salary:");
scanf("%d", &basic_salary);
HRA = basic_salary/2;
printf("HRA = %d", HRA);
}
similarly you can find a way to calculate dearness allowance as well.
Manis
On 2006-08-11 01:02:23
use the respective formula and then do ... u can find it
Answers
Sandy
On 2006-08-11 01:20:23
Manis
On 2006-08-11 01:02:23