You have a file (accounts) with lines consisting of two fields: a four-digit ban
ID: 3551475 • Letter: Y
Question
You have a file (accounts) with lines consisting of two fields: a four-digit bank account number, and the balance in the user's account - for example,
1111 2343.90
1001 2500.00
1058 24.34
... etc. .........
Write a program that will do the following:
? The records in this file are in random order, but you will put them into a sorted list in order of account number. Assume correct input, and assume sume that no account number will occur more than once in the file.
? Then you will put the program user in an input loop (until the user selects the option to exit).
MENU
1. See Account balance
2. Deposit
3. Withdraw
4. Make a Transfer (From account to account)
6. Add New Account
7. Close (Delete) Account
8. Exit
Example 1,
If the user selects the option 2, he or she will enter transactions as follows:
Enter Account-number: 1111
Enter Deposit amount: 95.00
Example 2,
If the user selects the option 3, he or she will enter transactions as follows:
Enter From Account-number: 1111
Enter To Account-number: 1112
Enter amount to be transferred: 950.00
c. After the user enters "quit", update the file (account) by saving the sorted list to the file.
Explanation / Answer
http://fresh2refresh.com/c/c-code-for-bank-application/
the code is there in this link.. hope it will be help ful.
refer other links also if required
http://www.technicalsymposium.com/program_for_bank_operation.html
http://www.dreamincode.net/forums/topic/65383-a-simple-banking-program-for-beginners/
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.