Saved Bookmarks
| 1. |
WRITE THE PROGRAM USING "SCANNER" CLASS Write a program by using class ‘Employee’ to accept Basic pay of an employee . Calculate the allowance/deduction as given below . Finally find and print the Gross and Net pay . Dearness Allowance(DA):30% of Basic pay House Rent Allowance(HRA) :15%of Basic pay Provident Fund(PF): 12.5% of Basic pay Gross Pay =Basicpay + DA + HRANet Pay= Gross Pay-PF Please answer asap and i will mark you brainliest |
|
Answer» ong>Explanation: Dearness ALLOWANCE (DA) = 30% of basic pay House Rent Allowance (HRA) = 15% of basic pay Provident Fund (PF) = 12.5% of basic pay Gross Pay = Basic Pay + DA + HRA Net Pay = Gross Pay – PF Find and print the gross and net pay. |
|