Computer Science, asked by gayatrirajput125, 6 months ago

write write the event procedures for calculating the gross salary, which is the sum of basic pay,HRA( house rend allowance) and CA ( conveyance allowance). Please help me​

Answers

Answered by mafattah
0

Answer:

You did not mentioned the language for the procedure. I will provide the java function for your question.

public double getGrossSalary(basic)

{

double gross_salary, ca, hra;

ca = (basic * 10) / 100;

hra = (basic * 20) / 100;

gross_salary = basic + hra + ca;

return gross_salary;

}

Explanation:

I hope that this will help you.

Similar questions