69 620
Assignments Done
Successfully Done
In February 2019

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions