Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have the c program and the output for this question, i just need to demonstrate the code. i want to learn how to do
I have the c program and the output for this question, i just need to demonstrate the code. i want to learn how to do it. thank you! :)
A leading Australian bank is maintaining its customer details based on the following database table structure. Customer Customer_ID Name Count of Accounts Ex: 1001 Amber 1 Ex: 1002 Aiden 2 Accounts Account_ID Ex: A101 Ex: A102 Ex: A103 Customer_ID 1001 1002 1002 Account_Type Balance Savings 1200 Savings 1000 Cheque 800 10c The bank has approached you to develop a simple menu drive program to read and manage customers and account details. The bank has made the following requirements: a. The program should be menu-driven b. A customer could maintain zero (0) or more accounts C. Each account to be linked to a customer d. The types of accounts are Savings. Cheque, Credit, and Transaction e. Except for Savings, all other accounts can have negative balances f. Your program should be capable of creating and storing any number of customers with zero to four accounts for each customer g. Your program should have the facility to search customer by customer name h. Your program should have the facility to calculate the total balance across all the accounts for a customer i. Your program should have the facility to calculate the total balances across all the accounts j. The program should have the facility to display all customers and account details As part of this assessment, you are required to develop a C-language-based program to fulfil the above requirements. Your program should be based on the following instructions: a. Use appropriate C-language constructs to create customer records - Structures b. Use appropriate C-language constructs to create account records - Nested Structures C. Ensure your approach allows a customer to maintain 0 or many accounts d. Use enum to create account types e. Use dynamic memory allocation to create and maintain any number of customers and accounts. f. Total balance calculation should be done using Recursive Function
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