Computer Science, asked by kjagaadeesh, 7 months ago

3. Write a java program to calculate the employee salary and get the values from keyboard for the corresponding variables: empid, empname, dept, salary, gross, pf, hra, lic.

a. If salary > 30000 then salary should be increased by 5%

b. If salary > 20000 and <30000 then salary should be increased by 4%

c. If salary > 10000 and <20000 then salary should be increased by 3%

d. Calculate gross by using the formula : gross = salary*percentage

e. Use the Switch case to calculate the net pay by net pay = gross+pf+hra-lic.

Answers

Answered by ssajitha063
0

Answer:

please refresh or try again later the impostor he kilked me

Similar questions