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.
Suppose that the father and mother of a daughter have monthly income Rs.70, 000.00 and Rs. 60, 000.00 respectively. Thei
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am