Write a C++ program having the following functionality. You will create bank accounts (either Current or saving) for 2 people. Every person will have different initial balance. Your program will calculate and show the following functions for the given number of years. 1. Annual Increment 2. Zakat deduction Additional Notes: 1. For saving account increment is 5% and for current account there is no increment. 2. Zakat deduction ratio is 2.5% (applied to all accounts). 3. Zakat will be deducted after increment
Write a C++
1. Annual Increment 2. Zakat deduction
Additional Notes:
1. For saving account increment is 5% and for current account there is no increment. 2. Zakat deduction ratio is 2.5% (applied to all accounts). 3. Zakat will be deducted after increment
Final output should look like this:
Name: Person 1 Initial Balance: 10000 Annual Increment: 500 Zakat deducted: 262.5 New Balance: 10237.5
Name: Person 2 Initial Balance: 10000 Annual Increment: 500 Zakat deducted: 262.5 New Balance: 10237.5
Step by step
Solved in 3 steps with 1 images