Question: Suppose you are hired to write a program for a particular bank. In this bank, there is the Human Resource Department which gets from the
Suppose you are hired to write a program for a particular bank. In this bank, there is the Human Resource Department which gets from the customers, name the customers, age of the customer and customer account number which is an digit number. The Human Resource department stores this details about a customer and also displays this details. There is another department in this bank called Finance. The Finance department gets from the customer, the customer salary and customer income tax. The tax is a number between and The Finance department also displays the salary of the customer and the tax of the customer. There is another department in this bank called Payroll. The Payroll Department displays all the customer details from the Human Resource Department. The Payroll Department also displays the customer salary and tax from the Finance Department. The payroll Department also has a function that calculates the customer net salary which is salarytax and displays this salary.
Write a C program using classes and inheritance to write the code for this bank. Treat each department as a class
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
