Q.2 Write a java program which initialization earning of an employee. The program should
calculate the income tax to be paid by the employee as per the criteria given below:
Slab rate IT rate
Upto Rs. 50,000 Nil
Upto Rs. 60,000 10% on additional amount
Upto Rs. 1,50,000 20% on additional amount
Above Rs. 1,50,000 30% on additional amount
Hint: - Run: - java calculates 1,25,000
Result: - income tax is …………………………….