标题:请问怎样写这个C++,请帮忙!
取消只看楼主
tzlek
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2009-7-14
 问题点数:0 回复次数:0 
请问怎样写这个C++,请帮忙!

Objective : Auto Banking System in C


1. Auto Banking System
A local bank needs your help to do a Basic Banking, ATM & Cash Deposit System.
Your program should perform the following tasks :
(a) Display a menu system as follows :-
 If choice is A, Create Account (staff only) (see part 2)
 If choice is B, Cash Deposit (see part 3)
 If choice is C, ATM functions (see part 4)
 If choice is D, the system will stop
(b) Create your own screen design or use this design as follows:
Banking, ATM & Cash Deposit System
A) Create Account (staff only)
B) Cash Deposit
C) ATM functions
D) Quit
>> Enter Choice : XX


2. Create Account (staff only)
Your program should perform the Input Function as follows:- :
(a) Input of Customers and their ordering in the following format
 Customer Code (3 numeric characters: 1-999)
 Password (6 digit integer)
 Customer Name (30 Alphanumeric characters)
 Block/Building No (10 Alphanumeric characters)
 Street Address (30 Alphanumeric characters)
 Unit No (10 Alphanumeric characters)
 Postal Code (10 Alphanumeric characters)
 Phone (10 Alphanumeric characters)
 Fax (10 Alphanumeric characters)
 Initial Deposit Amount (floating point number )


3. Cash Deposit
Your program should perform the Input Function and display list as follows:-
Customer Code : xxx
Password : xxxxxx
If password is correct, the interface will proceed to show:
Deposit amount : $xxxx.xx
If password is wrong, the interface will loop back and ask user to re-enter for at most 3 times.
Please observe local bank ATM’s functions and emulate/design your own cash deposit interface and functions, you are encouraged to add on extra functions.


4. ATM functions
The program will ask user to enter a password:
Customer Code : xxx 
Password : xxxxxx
Your program should perform the normal ATM functions as follows if the password is entered correctly, otherwise, allow maximum 3 attempts:
ATM Functions
A) Cash withdrawal
B) Check balance
C) Transfer money to other account,
D) Back to top menu
>> Enter Choice : XX
(Please design your own functions and interface for sub-menu)[/size][/size][/size]
2009-07-14 21:44



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-279570-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.158673 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved