#Q3. In a small company, the average salary of three employees is Rs1000 per week. If one employee earns Rs1100 and other earns Rs500, how much will the third employee earn? Solve by using java programm

#average salary of 3 employee is 1000 per week
#Salary=(Emp1+Emp2+Emp3)/3=1000

#s1 earns 1100 
Emp1=1100

# s2 earns 500
Emp2=500

# The third employee's salary will be
# (1100+500+$3)/3=1000
Emp3=3000-1100-500

print ("\nThe salary of 3rd employee is ",Emp3)

