Computer Science, asked by singlasarita162, 8 months ago

Pan no
Name
Total A
102. Define a class calculation with the following specifications:
Data members : Name, basicpay,hra, da
A default constructor to initialize the value of basicpay ,hra, da to zero.
A parameterized constructor to initialize the value as :
Hra =10%
Da=40%
A main method to compute to compute net salary as
Netsalary=basicpay+hra+da​

Answers

Answered by Ishaan912
0

Answer:

Please mark it as the brainliest

No answer

Similar questions