64 648
Assignments Done
99,2%
Successfully Done
In September 2018

Answer to Question #60573 in C++ for shruti

Question #60573
To write a program in c++ to calculate the salary using single inheritance.
Do the following :-
a) Create a base class employee and declare the function get_data() to get the employee details.
b) Declare the derived class called salary and define the function get_sal() to get the salary details.
c) Define the function calculate() to find the net pay and display the details
Expert's answer

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions