This calculator creates a simple form with two input fields for the employee’s monthly salary and years of service. It also includes a button to calculate the employee’s pension based on the following rules:
If the employee’s monthly salary is less than or equal to the maximum pension amount of Rs. 7,500 and they have at least 10 years of service, their pension will be calculated based on their actual salary and years of service using the formula (8.33% of salary * years of service).
If the employee’s monthly salary is greater than the maximum pension amount of Rs. 7,500 and they have at least 10 years of service, their pension will be calculated based on the maximum pension amount and their years of service using the formula (8.33% of Rs. 7,500 * years of service).