Define a class named EMPLOYEE in C++ with the following description.
Private Members:
E_Id – Integer
E_name – String of 25 characters
DOB – String of 12 characters
Basic – Float
DA – Float
HRA – Float
TOT_Salary – Float
Calculate-Salary () – it calculate the total salary as basic +DA+HRA where DA is 80%
of basic and HRA is 15% of basic.
Public members
Accept () – it accepts E_Id, E_name, DOB and basic. Thereafter it called the
calculate salary.
Dispaly () – it displays the entire data.
A constructer to initialize all integers and floats with 0.
Answers
Answered by
2
and the next is page is in comment
Attachments:
bhumikabhumi09:
cout<<"\n Basic="<
Similar questions
English,
8 months ago
Computer Science,
8 months ago
Geography,
8 months ago
English,
1 year ago
Physics,
1 year ago