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.
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
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.