Home » questions » How to calculate the dearness and house rent allowance of salary in C programming.?

How to calculate the dearness and house rent allowance of salary in C programming.?

2006-08-11 00:57:58, Category: Programming & Design

Answers

  1. Sandy

    On 2006-08-11 01:20:23


    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.
  2. Manis

    On 2006-08-11 01:02:23


    use the respective formula and then do ... u can find it