InterviewSolution
Saved Bookmarks
| 1. |
Write a c++ program to implement template class which to calculate net salary of employee class which using da,hra, pf, tax. |
|
Answer» Write a C++ program to define a class employee having members Emp-id, Emp-name, BASIC salary and FUNCTIONS ACCEPT() and DISPLAY(). Calculate DA=25% of basic salary, HRA=800, I-tax=15% of basic salary. |
|