Computer Science, asked by bk4066153, 6 months ago

class salarycalculation data member( string name )double basicpay, specialAlW, conveyanceAlW, gross,pf, netsalary, annualsal(all double type data) member method 1. salarycalculatuon( ) a constructorb to assign name of employrr (name), basic salary ( basic pay ) of your choice and conveyance allowance ( conveyance AlW) sa rupees 1000.00 ,2. void salary cal ( ) to calculate other allowance special AlW =25%basic salary . gross=basic pay +specialAlW+conveyanceAlW. net salary=GROSS-pf. annualsal=12months net salary. 3. void display
scanner program

Answers

Answered by g8669019319
0

Answer:

class salarycalculation data member( string name )double basicpay, specialAlW, conveyanceAlW, gross,pf, netsalary, annualsal(all double type data) member method 1. salarycalculatuon( ) a constructorb to assign name of employrr (name), basic salary ( basic pay ) of your choice and conveyance allowance ( conveyance AlW) sa rupees 1000.00 ,2. void salary cal ( ) to calculate other allowance special AlW =25%basic salary . gross=basic pay +specialAlW+conveyanceAlW. net salary=GROSS-pf. annualsal=12months net salary. 3. void display

scanner program

Similar questions