1.

WRITE THE PROGRAM USING "SCANNER" CLASSWrite 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-PFPlease answer asap and i will mark you brainliest

Answer»

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.



Discussion

No Comment Found