Page 1 of 1

Using c++ please implement these functions and if needed to add more functions, please do. Due date is after 12 hours. N

Posted: Sun Jul 03, 2022 11:23 am
by answerhappygod
Using c++ please implement these functions and if needed to addmore functions, please do. Due date is after 12 hours. Needed it tobe implemented with initializing the account details in the files,in the main block the user needs to input an account number fromthe 5 already intialized account numbers. The rate can be anythingyou want.
Using C Please Implement These Functions And If Needed To Add More Functions Please Do Due Date Is After 12 Hours N 1
Using C Please Implement These Functions And If Needed To Add More Functions Please Do Due Date Is After 12 Hours N 1 (71.26 KiB) Viewed 12 times
Using C Please Implement These Functions And If Needed To Add More Functions Please Do Due Date Is After 12 Hours N 2
Using C Please Implement These Functions And If Needed To Add More Functions Please Do Due Date Is After 12 Hours N 2 (120.84 KiB) Viewed 12 times
class Account { public: Account(); Account(double); ~Account (); double get_balance(); void set_balance (double); void print balance(); void set_deposit(double); void update_balance(double); private: double Total_Saving_Amount; double Total_Current_Account; }; class Saving_Account:public Account { public: Saving Account(the_balance):balance (the_balance); ~Saving_Account(); double compute_interest(); double get_rate(); private: double rate; }; class Current_Account: public Account { Public: Current Account(the_balance): balance (the_balance); ~Current_Account(); private: double balance; double deposit; }; classs Personal_Saving_Account: public Saving_Account { Private: string Account Number;
string Account Name; double balance; double deposit }; classs Personal_Current_Account: public Currrent_Account { }; private: String Account Number; String Account Name; double balance; double deposit; a. Develop the implementation of the above classes and you can add any declaration and its implementation if needed b. Assume that the bank has stored the basic data of all accounts on a file where each record has:Account Number, Account_Name, and balance. You have to create a file containing sample data of at least 5 records to test your application c. Write a function to store each tranaction on a transaction file d. Write a function that runs at the end of the day to update the balances in the customers'accounts file using the tranaction file e. The following scenario is suggested to test your application i. ii. Prepare the file containing accounts information offline or develop a data entry program to create that file Your main program is to prompt the user asking him/her to choose his/her transaction, based on the answer prompt him to enter his account number, search for his/her balance on the account file, use set_balance function to store the balance in the personal account object, ask him/her to enter the deposit or withdrawal amount, set the deposit amounts. You can create an array of fixed size to keep access to the instantiated classes. Then you update the balance in all classes. iii. You can set the interest rate once at the beginning, then write a function to traverse all saving account and compute the daily interest rate, and update the balance Note: Reasonable assumptions to add and/ or modify the above scenario will be accepted