C++ Program Basic Salary of the employee with dearness allowance

By: Prof. Dr. Fazal Rehman | Last updated: February 3, 2024

Write a program that inputs the name, Basic Salary of the employee. The program calculates 35% dearness allowance, 25% house rent of the employee from the basic salary then displays the gross salary which is adds basic salary, dearness allowance and house rent of the employee.   Output Enter employee’s name: Ali Enter the basic salary: 20000 Employee Name: Ali Basic Salary: 20000 Dearness Allowance (35%): 7000 House Rent (25%): 5000 Gross Salary: 32000
All Copyrights Reserved 2025 Reserved by T4Tutorials