Hire Experts For Answers
Order NowRelated Study Services
- Homework Answers
- Coursework writing help
- Term paper writing help
- Writing Help
- Paper Writing Help
- Research paper help
- Thesis Help
- Dissertation Help
- Case study writing service
- Capstone Project Writing Help
- Lab report Writing
- Take my online class
- Take my online exam
- Do my test for me
- Do my homework
- Do my math homework
- Online Assignment Help
- Do my assignment
- Essay Writing Help
- Write my college essay
- Write my essay for me
DESCRIPTION
Posted
Modified
Viewed
14
Finish up a CS assignment. Most of the source is given just need to go in and fill the rest. I need this done super fast as it is due tonight. It is all in C++
Attachments
This assignment is designed to have you use Object Oriented Design to design accounts with transaction
processing at a bank.
There will be the following 3 account types:
• Savings Account
• Checking Account
• Interest Checking Account
Your program must create classes for all the account types including a base class.
All account types and the base class must use .h files for headers and .cpp for class implementations.
The names of these files should be the names of the class used in the program.
The .h files and .cpp files must all implement guards.
The .h files may use inline defining for small function body code. An example is the setters and
getters are usually 1 line of code in the body, so are candidates for using in lining to do the
function body implementation in .h files. More complex function should be implemented in a .cpp file.
You must have a file named main.cpp that contains the main program.
The following description is of the required classes for the project.
You must use the class and file names stated in this assignment.
BankAccountsClass
BankAccountsClass.h
This is the top-level base class for all bank account types.
Class Members
This has the following protected class members with the specified names.
accountIdStr is a string variable that is an account identifier.
accountOwnerStr is a string that has the account owners name associated with the account identifier
accountBalanceFl is a float that is the account balance.
This class has the following public class member functions with the specified names.
Constructor
The following default constructor must be provided for this class.
BankAccountsClass() : accountIdStr(""), accountOwnerStr(""), accountBalanceFl(0) {}
Class Member Functions
All the public mutators and accessors for all the protected variables in this class:
const string& getAcountIdStr () const
void setAccountIdStr(string accountIdStr)
const string& getAccountOwnerStr () const
void setAccountOwnerStr (string accountOwnerStr)
float getAccountBalanceFl() const
void setAccountBalanceFl(float accountBalanceFl)
Other Class Member Functions
void deposit(float depositAmountFl)
This function handles deposit additions to the protected accountBalanceFl variable
void virtual display()
This function handles displaying the information for all account types.
It is a virtual function that must be overridden in each of the account types.
BankAccountsClass.cpp
This file contains the implementations for this class.
// Displays the information for the BankAccountsClass.
void BankAccountsClass::display() {}
SavingsAccountClass
This class is derived from public BankAccountClass and it represents savings accounts.
SavingsAccountClass.h
Class Members
This class has the following protected class members with the specified names.
savingsInterestRate is a static float that contains the annual interest rate for all savings accounts
This class has the following public class member functions with the specified names.
Constructor
The following default constructor must be provided for this class.
SavingsAccountsClass(string accountIdStr, string accountOwnerStr, float accountBalanceFl)
: BankAccountsClass( accountIdStr, accountOwnerStr, accountBalanceFl) { }
The public mutators and accessors for all the protected variables in this class:
static void setSavingsInterestRate(float savingsInterestRate) { }
static float getSavingsInterestRate() { }
Other Class Member Functions
bool cashCheck(float);
void display();
SavingsAccountClass.cpp
This file contains the implementations for this class.
CheckingAccountsClass.h
This class is derived from public BankAccountClass and it represents checking accounts.
Class Members
This class has the following protected class members with the specified names.
static float checkingMinimumFl;
static float chargePerCheckFl;
This class has the following public class member functions with the specified names.
Constructor
The following default constructor must be provided for this class.
CheckingAccountsClass(
string accountIdStr, string accountNameStr, float accountBalanceFl)
: BankAccountsClass(accountIdStr, accountNameStr, accountBalanceFl)
{}
The public mutators and accessors for all the protected variables in this class:
static void setCheckingMinimumFl(float checkingMinimumFl )
{}
static float getCheckingMinimumFl(void)
{}
static void setChargePerCheckFl(float chargePerCheckFl)
{}
static float getChargePerCheckFl(void)
{}
Other Class Member Functions
bool cashCheck(float);
void display();
CheckingAccountsClass.cpp
This file contains the implementations for this class.
//CheckingAccountsClass statics
float CheckingAccountsClass::checkingMinimumFl = 0,
CheckingAccountsClass::chargePerCheckFl = 0;
if there is not enough money to cash the check display a message that states the problem
then return a false, otherwise cash the check, deduct per check fee if below the minimum balance.
then return a true
bool CheckingAccountsClass::cashCheck(float checkAmountFl)
{}
InterestCheckingAccountsClass.h
This class is derived from public CheckingAccountsClass, and it represents interest bearing checking
accounts.
Class Members
This class has the following protected class members with the specified names.
static float interestCheckingRate is the annual interest rate earned when bal > minbal credited
monthly.
static float minimmunBalanceRequired the is minimum balance required to receive interest.
static float monthlyFeeChargeNoMinimumBalance the monthly fee (only charged if minimum balance not met)
This class has the following public class member functions with the specified names.
Constructor
The following default constructor must be provided for this class.
InterestCheckingAccountsClass(
string accountIdStr, string accountNameStr, float accountBalanceFl)
: CheckingAccountsClass (accountIdStr, accountNameStr, accountBalanceFl) { }
The public mutators and accessors for all the protected variables in this class:
static void setInterestCheckingRate(float interestCheckingRate){ }
static float getInterestCheckingRate(){ }
static void setMinimmunBlanceRequired(float minimmunBalanceRequired){ }
static float getMinimmunBlanceRequired(){ }
static void setMonthlyFeeChargeNoMinimumBalance(float monthlyFeeChargeNoMinimumBalance){ }
static float getMonthlyFeeChargeNoMinimumBalance(){ }
Other Class Member Functions
void calculateInterest();
void display();
InterestCheckingAccountsClass.cpp
This file contains the implementations for this class.
//InterestCheckingAccountsClass statics
float InterestCheckingAccountsClass::interestCheckingRate = 0,
InterestCheckingAccountsClass::minimmunBalanceRequired = 0,
InterestCheckingAccountsClass::monthlyFeeChargeNoMinimumBalance = 0;
bool CheckingAccountsClass::cashCheck(float checkAmountFl)
{ }
void InterestCheckingAccountsClass::calculateInterest()
{ }
void InterestCheckingAccountsClass::display()
{ }
// InterestCheckingAccountsClass statics
float InterestCheckingAccountsClass::interestCheckingRate = 0,
float InterestCheckingAccountsClass::minimmunBalanceRequired = 0,
float InterestCheckingAccountsClass::monthlyFeeChargeNoMinimumBalance = 0;
TransactionsClass.h
This class represents the type of transactions that can be done on the account.
Class Members
This class has the following private class members with the specified names.
string accountIdentifcationStr is the account that the transaction is to be performed on.
string transactionIdStr is the type of transaction to execute on the account
unsigned transactionArgumentUns is the value to be used by the type of transactions
This class has the following public class member functions with the specified names.
Constructor
The following default constructor must be provided for this class.
TransactionsClass()
: accountIdentifcationStr(""), transactionIdStr(""),transactionArgumentUns (0)
{}
The public mutators and accessors for all the protected variables in this class:
const string& getIdentifcationStr() const { }
void setIdentifcationStr(string standIdentifcationStr) { }
const string& getTransactionIdStr() const { }
void setTransactionIdStr(string transactionIdStr) { }
unsigned getTransactionArgumentUns() const { }
void setTransactionArgumentUns(unsigned transactionArgumentUns) { }
Other Class Member Functions
None
TransactionsClass.cpp
This file is not necessary if the TransactionsClass.h in lines all its functions.
Files
The following specifies the input and output files for the assignment.
All the files, unless noted, are comma separated value (csv) text files.
You must use the file names specified in this section.
You can assume that all the files are correctly formatted and contain valid entries. You do not have
to worry about blank lines in the file or invalid data.
InfoBankConfig.txt
This file is an input file.
Each line in this file is used to contain one of the values that are used to configure the bank account
properties used in the accounts. There is one configuration value per line.
Line 1 : Savings Account Interest Rate
Line 2 : Checking Account Minimum Balance
Line 3 : Checking Account Charge Per Check
Line 4 : Interest Checking Interest Rate
Line 4 : Interest Checking Minimum Balance
Line 5 : Interest Checking Monthly Fee Charge
The following values must be in the file:
3.5
1000.00
0.25
2.50
2500.00
10.00
InfoBankAccounts.txt
This file is both an input and output file.
This file has the following information and format that represents the banking account types.
account Identification String, Account Owner String, Current Account Balance Float
Bank Account Identification String
The first character indicates the account type:
s – savings account
c – checking account
i – interest bearing checking account.
File content examples:
s847300,Deepika Padukone,0
c974423,Yu Nan,19.16
i555559,Aubrey Graham,1.00
The file must contain at least 6 entries with at least each account type having 2 entries each.
InfoBankAccountsTransactions.txt
This file is an input file.
Each line in this file is used to contain a transaction that the bank will process.
This file has the following information and format that represents the banking transactions.
account Identification String, Account Transaction Identifier String, Account Transaction Amount String
(If Necessary)
Bank Account Identification String
The first character indicates the account type:
s – savings account
c – checking account
i – interest bearing checking account
Account Transaction Identifier String
The following are the only valid Transaction Identifiers:
deposit
withdraw
check
interest
If the Account Transaction Amount String is interest then there is not any Account Transaction Amount
Float.
The file must contain at least 16 entries with at least each account type having 4 entries each.
File content examples:
The following accounts would have to exist in the InfoBankAccounts.txt file.
s847300,deposit,1200
s847300,withdrawal,120
s847300,interest
c974423,deposit,1000
c974423,check,512.39
s742100,deposit,1500.63
s742100,withdraw,500.63
c473892,deposit,20000
c473892,check,857.99
i555559,deposit,23000
i555559,check,1683.27
i555559,interest
i987654,deposit,13200
i987654,check,11200
i987654,interest
x000001,deposit,1600.69
main.cpp
The main .cpp is provided. You cannot modify the code that already exists there.
To correctly code up the program, you must put code in the sections that have /*$$*/ that indicate
where you must identify areas that require coding.
In some function there are dummy returns that have values so that the code structure will compile.
These dummy returns are marked with /*$$*/ so that you know you must replace these returns with correct
values.
You must upload all the required .h and .cpp files along with all the .txt file that are used by the
program.
General Design
You must use the arrays specified and use new to create the dynamic arrays.
The best approach is to get a function in main and its associated class to work one at a time, then
proceed to the next function and associated class.
Explanations and Answers
0
No answers posted
Post your Answer - free or at a fee
NB: Post a homework question for free and get answers - free or paid homework help.
Get answers to: Finish Up A Cs Assignment. Most Of The Source Is Given Just Need To Go In And Fill The Rest or similar questions only at Tutlance.
Related Questions
- Event Detection In Ecg And Ppg
- Social Distancing And Mask Detection Code
- Wanted Help With Python Assignment Involving Data Structures
- Create A Linked Implementation Of A Set Call Linkedset<T> That Implements The Set Interface).
- Help Write This Simple Checkers Code Game
- Testing Differences In Measurements Between Different Observers
- Testing Differences In Measurements Between Different Observers
- Final Assignment Programming Class
- Stat200 - Assignment #1: Descriptive Statistics Data Analysis Plan
- Gis Project - Identifying Farmlands In Allegheny County, Pittsburgh
- Can You Solve The Attached Coding Problem In Mpi With Fortran?
- R Code Assignment 4 Questions Please Finish On Time!!!!!!!!!!!
- Practice Inheritance, Virtual Functions And Base Class Pointers.
- Practice Inheritance, Virtual Functions And Base Class Pointers
- Use This File And Download: Company_Attrition.csv Open Up And Clean The File, Create A Jupyter Notebook
- Creating A Regression Model In R That Accurately Predicts Responding Variable 'Score'
- Lab 9&10 Programming Questions
- Creating Gradebook Nasm Virtual Machine
- C++ Assignment Including User-Defined Functions, Vectors/Arrays, And I/O
- Need Help With Three Basic C++ Questions
- Difference In Means Estimator On Average Treatment Effect
- Statistics Assignment: Difference In Means Estimand, Sutva, And Randomization Inference
- Assignment From Statistics Class
- Python 3: Building A Restaurant That Outsources Their Ice Cream Desserts To The Ice Cream Shoppe
- Arcgis Lab Help Please........
- Quiz On Python Object Oriented Programming
- Quiz On Python Object Oriented Programming
- Strategy Memo-Msf Access To Medicines Campaign
- I Need Help Adding A Rest Api Over Http Function To My Programs
- Creating A Deck Of Cards And A Menu For Doing Simple Actions With Those Cards.
- Embedded Systems Assignment Look At Attached File For Instructions.
- Project: Tic Tac Toe 2.0 In Java
- Write Python Code For Analyze People Migration Data Human Migration.
- Coding Assingment. 2 (Python/Sql)
- Performing A Regression Analysis With Time Series Data And Possible Autocorrelation
- Performing A Regression Analysis With Time Series Data And Possible Autocorrelation
- Python Program Homework. Implementation Of The M-Index Calculation
- Python Program Homework. Implementation Of The M-Index Calculation
- Ruby Terminal App - Simple Library App
- C++ Bowling App That Uses Arrays And Prints Scores
- Maths Questions Based Off Calculus And Matlab Coding
- I Need Someone To Convert My Song Lyric Website To A React Application
- I Need Someone To Convert My Song Lyric Website To A React Application
- Programs That Write Html, Write A Program That Writes A Web Page
- Image Processing With Matlab Programming
- C++ Final Project For A College Students
- Convolutions And Digital Holography In Matlab
- Convolutions And Digital Holography In Matlab
- Design Project For Aerospace Engineering...........
- I/O Cycle Coding Project On Website