Write a program In C++ to define a class “Bank” that has a member “Bank_Balance” . A person opens two accounts in the first month of the year : saving account and salary account .The initial balance in both of these accounts is 500. For account safety, the balance shouldn’t be accessible to anyone other than the person who opened the account The salary he receives each month is 40000. He doesn’t withdraw any amount for five months. Display using member functions, the balance of the salary account for five months . The person deposits 5000 in his savings account. The savings account adds an interest of 20 percent every month. Display the data for next five months of the savings account
Write a program In C++ to define a class “Bank” that has a member “Bank_Balance” . A person opens two accounts in the first month of the year : saving account and salary account .The initial balance in both of these accounts is 500. For account safety, the balance shouldn’t be accessible to anyone other than the person who opened the account The salary he receives each month is 40000. He doesn’t withdraw any amount for five months. Display using member functions, the balance of the salary account for five months . The person deposits 5000 in his savings account. The savings account adds an interest of 20 percent every month. Display the data for next five months of the savings account.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)