Suppose that the father and mother of a daughter have monthly income Rs.70, 000.00 and Rs. 60, 000.00 respectively. Thei
Posted: Mon Jun 06, 2022 12:41 pm
Suppose that the father and mother of a daughter have monthly
income Rs.70, 000.00 and Rs. 60, 000.00 respectively. Their
daughter’s monthly expense for education is a total of 5% of the
father’s income and 7% of the mother’s income. How much money is
needed for one year education of the daughter? Using a suitable
type of inheritance best matching this scenario, write a program in
C++ in order to solve the problem.
income Rs.70, 000.00 and Rs. 60, 000.00 respectively. Their
daughter’s monthly expense for education is a total of 5% of the
father’s income and 7% of the mother’s income. How much money is
needed for one year education of the daughter? Using a suitable
type of inheritance best matching this scenario, write a program in
C++ in order to solve the problem.