Computer Science, asked by kjagaadeesh, 7 months ago

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 ssonuh
0

Answer:

sorry dude I am in class 6

Similar questions