InterviewSolution
Saved Bookmarks
| 1. |
define class employee with the specifications private members of employee empro integer,e name 20 character,basic, hra ,da float,net pay float.calculate () function to calculate basic+hra+da with float return type |
|
Answer» C++ Program to create a class EMPLOYEE (Calculate DA,Tax,Net Sal ETC) (2 posts) ... Member FUNCTION: to read data, to calculate Net_Sal and to print data members; ... compute the Net_Sal of each employee ( DA = 52% of Basic and Income Tax ... class employee { int emp_num; char emp_name[20]; float emp_basic; float ...Explanation: |
|