Question: CSC 1 3 4 : Chapter 1 3 Programming Project Individual work, you may use any resource, but the work must be your own. Please

CSC 134: Chapter 13 Programming Project
Individual work, you may use any resource, but the work must be your own. Please
include with your solution a statement that this is your own work.
Account class with a statement method
Make the following changes to the Chapter 13 Account class (see section 13.13).
Code Specifications:
Add an array (or vector) of strings to hold a sequence of transaction
descriptions for the account. For each transaction, add an appropriate string to
this array or vector.
Add a string member variable called accountName to the Account class to
identify the name of the account on the statement.
Write a member function called getStatement() that creates an account
statement (HINT: a string). The statement should include the account name
along with the descriptions of recent transactions. This method can either return
a string version of the statement to the calling program or it can print the
statement directly from the member function.
In the statement, account for the following types of transactions: New Account,
initial deposit, deposit, withdrawal, interest payment.
Add a method called clearStatement() to reset or clear the statement.
Include a screenshot showing your Account class tested with the following program:
Create an Account:
Label this account Tom Smith Savings, with an initial deposit of
$12,000.
First Month of Transactions:
withdraw $420, deposit $465, withdraw $215, interest payment at
2.11%APR
Print the statement
Clear the Statement
Second Month of Transactions:
withdraw $1356, deposit $474, interest payment at 2.01%
Print the statement
Turn in your C++ source code solution file and a testing screenshot that shows you
successfully compiled and tested the program (or a ZIP of these files). Be sure your
name is visible in the screenshot as the author of the code (e.g., a header comment).
 CSC 134: Chapter 13 Programming Project Individual work, you may use

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 Databases Questions!