Question: Write a structure to store the name, account number and balance of customers and store their information. 1- In your main, ask the user
Write a structure to store the name, account number and balance of customers and store their information. 1- In your main, ask the user to enter the number of customers and store it in an integer variable numOfCustomers. 2- define a dynamic array of this new defined struct with the size entered by the user in step 1 3- Populate the members of the struct in your main via the user typing the customer details and you storing them in the matching index in the array. 4- Write a function to print the names of all the customers having balance less than $200. 5- Write a function to add $100 in the balance of all the customers having more than $1000 in their balance and then print the incremented value of their balance.
Step by Step Solution
There are 3 Steps involved in it
include include struct Customer stdstring name int accountNumber double balance Function to print names of customers with balance less than 200 void p... View full answer
Get step-by-step solutions from verified subject matter experts
