Question: It has to compile with c++ 7) (15 PTS) - FirLas_Final_7.cpp: Write a complete program (using vi and g++ on your terminal) a. Copy the

 It has to compile with c++ 7) (15 PTS) - FirLas_Final_7.cpp:

It has to compile with c++

7) (15 PTS) - FirLas_Final_7.cpp: Write a complete program (using vi and g++ on your terminal) a. Copy the code from my shared location using the command below b. Copy the data file from my shared location using the command below c. Implement Checking as a child class of Account. In Checking, ep /home/fac/mmanibo/shared/final/fc.cpp FirLas_Final_7. cpp op /home/fac/mmanibo/shared/final/account.dat i. Implement a private string variable called routing i. Implement a private function double get_trans_total (). This function will read the contents of account. transactions marked 'C'are credits; these add to the balance. The transactions marked 'D are debits, these reduce the balance. Load the entire file and calculate the value of the inherited balance variable dat file. Each line of the file represents a transaction. The ii. Implement a public function void create_statement () . This function writes/creates a file called statement.txt. The statement file will contain 3 lines, one for each of the routing number, the account number and the balance. statement.txt Account: 01234567 Routing: 333444000 Balance: 2553.93 7) (15 PTS) - FirLas_Final_7.cpp: Write a complete program (using vi and g++ on your terminal) a. Copy the code from my shared location using the command below b. Copy the data file from my shared location using the command below c. Implement Checking as a child class of Account. In Checking, ep /home/fac/mmanibo/shared/final/fc.cpp FirLas_Final_7. cpp op /home/fac/mmanibo/shared/final/account.dat i. Implement a private string variable called routing i. Implement a private function double get_trans_total (). This function will read the contents of account. transactions marked 'C'are credits; these add to the balance. The transactions marked 'D are debits, these reduce the balance. Load the entire file and calculate the value of the inherited balance variable dat file. Each line of the file represents a transaction. The ii. Implement a public function void create_statement () . This function writes/creates a file called statement.txt. The statement file will contain 3 lines, one for each of the routing number, the account number and the balance. statement.txt Account: 01234567 Routing: 333444000 Balance: 2553.93

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!