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 8 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 1 and 100. 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 salary*tax/100 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 [20]
Suppose you are hired to write a program for a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!