” C++编程 写作、 辅导c/c++程序语言accountNo accountName password Balance VIP0123 Ryan 123456 100000.23 V0124 Eric 654321 100000.12 NC++ Group ProjectDDL: Jan 2 23:59 p.m, 2021At most 3 members for each teamIn a bank, there are many accounts. An account can be a normal account or a VIP account.Account information is stored in a file in the following format (account.txt):Every account number (accountNo) contains four digits. Password would be a 6-sigits number. Forevery Account, the client can inquiry, withdraw, save and transfer money. These transactions havethe following features:1. WithdrawFor normal account, the customer can withdraw at most 2000 per time. For VIP account,the customer can withdraw 3000 per time. If a customer wants to get money thatexceeds this limit, a warning should be given.When a Customer withdraws money from an account and the amount exceeds thebudget in that account, the withdrawal fails. A warning must be given.2. DepositA customer can deposit as much as possible.3. TransferWhen transferring money, a VIP account can transfer at most 20000 and a normalaccount can transfer at most 10000. It is assumed that the accounts transferring fromand transferring to are all in the account.txt. If the from account is VIP, the charge forthe transaction is 0.5%; otherwise, the charge is 1%.4. InquiryWhen an account is inquired, the balance in this account is displayed.Notice: After each transaction except inquiry, the balance should be updated in the file ifthetransaction succeed.A menu is required for the customer to login and operate the account. There are threecomponents in the menu.1. Login systemWhen the program start, a menu as following should prompt out.Please input your account number:If a valid account can be found in account.txt, the user can process to next step. Otherwise, awarning will be given and back to the account input.Please input you account password:Verify input with the password stored in the account.txt. If failed, a warning will be given andback to the account input.2. Operation menuAfter customer log into the system, a menu as following should prompt out.1. Inquiry2. Deposit3. Withdraw4. Transfer5. QuitPlease select:Customer can Use number to select each operation.Inquiryoutput the balance as followingDear Ryan, your balance is 100000.23DepositInput how much money you want to depositPlease input the amount to save: 10000Verify if it is a reasonable amount, and output the updated balance.Dear Ryan, your balance has been updated to 110000.23WithdrawInput the amount you want to withdrawPlease input the amount to withdraw: 10000Verify if it is a reasonable amount, and output the updated balance. Otherwise warningmust be given.Dear Ryan, your balance has been updated to 90000.23TransferInput the target account numberPlease input the target account number:Verify if it is a valid account. If not, a warning must be prompted. Next input the amountto transfer.Please input the amount to transfer:Verify if it is a reasonable amount, and output the updated balance. Otherwise warningmust be given.Transfer success! Your balance has been updated toAfter each operation, you can choose1. Continue //Back to Operation menu2. Quit //Terminate the programNotice1. Use Classes and inheritance in C++.2. Separate main function class definition in different file.3. Example of file input/output is demonstrated in fileio.cppSubmissioncompressed into one zip file includes:1. code(.cpp files and .h files)2. .exe and .txt file3. Document (one page)User manualJob allocation4. Each Group only needs to submit one copy如有需要,请加QQ:99515681 或WX:codehelp
“
添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导。