How to Calculate Attrition Rate of your Company?

What is Attrition Rate?
Ans. The attrition rate is also referred to as the employee turnover rate or the “churn” rate. If your company has a high attrition rate, it may cost you a significant amount of money to continually replace employees. Furthermore, customers may perceive a drop in the value of your product or service due to a diminished work force or lack of morale or motivation in remaining employees. This damage to your brand may further impact your bottom line.


//Program to Calculate the monthly attrition rate in Java.

import java.util.*;
public class Attrition_Rate
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
double beg, add, left, avg,attr;
System.out.println("Monthly Attrition Rate");
System.out.println("=================================");
System.out.print("Total No. of employees at the beginning of the month: ");
beg=sc.nextDouble();
System.out.print("No. of New employees added in the month: ");
add=sc.nextDouble();
System.out.print("No. of employees left during the month: ");
left=sc.nextDouble();
avg=(beg+beg+add-left)/2;
attr = left/avg*100;
System.out.println("The Average Attrition Rate for this month is : "+attr);
}
}


/*
Output
>javac Attrition_Rate.java
>Exit code: 0
>java -cp . Attrition_Rate


Monthly Attrition Rate
===========================================================
Total No. of employees at the beginning of the month: 150
No. of New employees added in the month: 25
No. of employees left during the month: 20
The Average Attrition Rate for this month is : 13.114754098360656


>Exit code: 0

*/



No comments

Post your comments

Powered by Blogger.