Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

6. Write a menu-driven savings account transaction program that will process the

ID: 3656880 • Letter: 6

Question

6. Write a menu-driven savings account transaction program that will process the following sets of data: Group 1 I 1234 1054.07 W 25.00 D 243.35 w 254.55 z Group 2 I 5723 2008.24 w 15.55 z Group 3 I 2814 128.24 W 52.48 D 13.42 W 84.60 z Group 4 I 7234 7.77 Z Group 5 I 9367 15.27 W 16.12 D 10.00 Z Group 6 I 1134 12900.00 D 9270.00 Z The first record in each group contains the code (1) along with the account number and its initial balance. All subsequent transaction records show the amount of each withdrawal (w) and deposit (D) made for that account, followed by a sentinel value (z). Display the account number and its balance after processing each record in the group. If a balance becomes negative, display an appropriate mes- sage and take whatever corrective steps you deem proper. If there are no transactions for an account, display a message stating this. A transaction code (Q) should be used to allow the user to quit program execution. ((PLEASE DO IT READABLE,I will appreciate))THANKS FOR THE HELP

Explanation / Answer

#include #include class account { char cust_name[20]; int acc_no; char acc_type[20]; public: void get_accinfo() { coutcust_name; coutacc_no; coutacc_type; } void display_accinfo() { cout