Computer Science, asked by amansharma19999, 1 year ago

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 bhumikabhumi09
2
and the next is page is in comment
Attachments:

bhumikabhumi09: cout<<"\n Basic="<
bhumikabhumi09: sry msg me personally.....then i will give u the full answer ....
bhumikabhumi09: actually isme add nhi ho rha next page
Similar questions