Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The first is the instructions for the C++ coding and the second is the input and the third is the output. The code also needs
The first is the instructions for the C++ coding and the second is the input and the third is the output.
The code also needs a test to see if its the last iteration because th
e last line can not have an endl
8.13 In-class Activity: Lec11 Array of Structures using Pointers You have been tasked to write accounting software for a bank. Each account contains the following information: typedef struct { customer name (string) savings account balance (double) checking account balance (double) } Customer; typedef struct { Customer *%;B } Bank; Task 1: Create a data structure to contain information about N banks. Take N as input from the user. Task 2: For each bank, ask the user how many customers have accounts in that bank and create an array of Customer structures. Task 3: Now, for each bank, take the names, savings, and checking account information as input. Task 4: Write a function displayAllCustomers to display the information about all customers. Task 5: Write a function to delete all memory that you have dynamically allocated in Tasks 1 and 2. 511494.3152074.qx3zqy7
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started