Q1 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.
Program: 51
Write a program to calculate his gross salary. | Let Us C Solutions
Output:
Enter Basic Salary: 1250.50 Basic Salary: 1250.50 Dearness Allowance: 500.20 House Rent: 250.10 Gross Salary: 2000.80