Question: And also below is the output file. main.cpp #include #include #include account2.h #include account2_output.h using namespace std; using namespace DS; int main() { cout 0

 And also below is the output file. main.cpp #include #include #include

And also below is the output file.

main.cpp

#include  #include  #include "account2.h" #include "account2_output.h" using namespace std; using namespace DS; int main() { cout  0 savings.deposit(-1000); cout  0 savings.withdraw(-1000); cout  

account2_output.h :

#ifndef PROJECT_SAVINGS_ACCOUNT_OUTPUT_H #define PROJECT_SAVINGS_ACCOUNT_OUTPUT_H #include  #include  namespace DS { //Precondition: None //Postcondition: Output to stream, in the format of // day: DAYNUM, balance: $x.xx std::ostream &operator  - Classes - Containers - Dynamic Arrays Program Objective Ooops! You work for a bank that has a program with a dependency of the account class. Unfortunately the hard drive that contained the source code for the account class went bad and no backup can be found. Obviously, this means you bank needs to address this issue. However, your task is to recreate the account class. The good news is that your company was able to locate a tester of the account class and one helper function to output the class. Using these two files, you should be able to re-egineer acocunth and account.cpp to work as originally designed. Since you are the coder now, the class will most likely be even better than the original. Implement the account class Implement the account class with no std::vector or vectors in the header file or implementation class. All of this is a dynamic array class. Below is the main driver file.  - Classes - Containers - Dynamic Arrays Program Objective Ooops! You work for a bank that has a program with a dependency of the account class. Unfortunately the hard drive that contained the source code for the account class went bad and no backup can be found. Obviously, this means you bank needs to address this issue. However, your task is to recreate the account class. The good news is that your company was able to locate a tester of the account class and one helper function to output the class. Using these two files, you should be able to re-egineer acocunth and account.cpp to work as originally designed. Since you are the coder now, the class will most likely be even better than the original. Implement the account class Implement the account class with no std::vector or vectors in the header file or implementation class. All of this is a dynamic array class. Below is the main driver file

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!