Chat with us, powered by LiveChat In C++, create a program that represents a savings account. The program should be written 1. Create a class named SavingsAccount 2. The… | WriteDemy

In C++, create a program that represents a savings account. The program should be written

1. Create a class named SavingsAccount

2. The class should be defined in its own header file and have at least the following data members and functions:

Data Members

– accountOfficer, represents the account officer who is responsible for the account.

– oDate,represents the date that the account was opened.

– annualInterestRate, represents the interest currently on the account. This value should be the same for all objects created.

– customer, represents the Customer of this account.

-accountNumber, data member to represent the account number of the account.

-balance, data member to represent the current balance of the account.

Data members shared by all objects of the class:

– activeOfficer, represents the current account officer who is creating accounts

– cdate, represents today’s date

Member functions:

– Default Constructor(), this constructor should initialize that data members appropriately

– Constructor(), this constructor should initialize that data members customer, savingsBalance, and accountNumber to the corresponding values passed to it.

Note that the data members, accountOfficer, and oDate should be initialized to the activeOfficer and tDate objects respectively.

– modifyInterestRate(), this function should modify the value of the data member annualInterestRate to the value of the parameter passed to it.

– updateSavingsBalance(), this function should calculate the monthly interest and update the savings balance data member with the interest results

– Any other methods as necessary

3. Write a class source code implementation file that contains any necessary declaration of the static variable in global space and code implemenation of all methods in the class.

4. Write a driver program to test this class. The program should:

– Prompt you to enter the current Account Officer on duty.

– Prompt you to enter today’s date

– Prompt you to enter current interest rate.

– Create an array of pointers for up to some maximum number of accounts that can be created.

– Allow for the program to continuosly create new accounts (up to maximum) requesting the appropriate information each time.

5. Once all the accounts have been created, the program should:

– invoke a local function accumulateInterest() whose purpose is to update savings balnce for each account created for one year (e.g. 12 months) of savings. This function should take as an argument the array of accounts and accumulate teh interest for one year (i.e. 12 times) on each object of the array.

– invoke a local function to output a blance summary for each account.

Sample Run:

Current Account Officer: John Williams

Current Date: 11/14/2018

Current annual interest rate: 5%

Enter Customer name: Ted Johnson

Enter Starting balance: 10000.0

Enter Customer name: Raul Lopez

Enter Starting balance: 100.0

Enter Customer Name: –

Accumulating Interest for one year…

Account Officer Date Opened Customer Current Balance

John Williams 11/14/2018 Ted Jones $105000.00

John Williams 11/14/2018 Raul Lopez $105.0

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order