Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary.
printf("\nInput Basic Salary");
printf("\nGross Salary is %f",gs);